func ResultFor(dest Destination, description string, operators ...Operator) Result {
	return Result{
		Destination: dest,
		Description: description,
		Operators:   operators,
	}
}
ResultFor creates a simple result.
package definition
import (
	"context"
	"fmt"
	"reflect"
)
const (
	MIMEAll         = "*/*"
	MIMENone        = ""
	MIMEText        = "text/plain"
	MIMEHTML        = "text/html"
	MIMEJSON        = "application/json"
	MIMEXML         = "application/xml"
	MIMEOctetStream = "application/octet-stream"
	MIMEURLEncoded  = "application/x-www-form-urlencoded"
	MIMEFormData    = "multipart/form-data"
)
func DataErrorResults(description string) []Result {
	return []Result{
		{
			Destination: Data,
			Description: description,
		},
		{
			Destination: Error,
		},
	}
}
func ParameterFor(source Source, name string, description string, operators ...Operator) Parameter {
	return Parameter{
		Source:      source,
		Name:        name,
		Description: description,
		Operators:   operators,
	}
}
func PathParameterFor(name string, description string, operators ...Operator) Parameter {
	return ParameterFor(Path, name, description, operators...)
}
func QueryParameterFor(name string, description string, operators ...Operator) Parameter {
	return ParameterFor(Query, name, description, operators...)
}
func HeaderParameterFor(name string, description string, operators ...Operator) Parameter {
	return ParameterFor(Header, name, description, operators...)
}
func FormParameterFor(name string, description string, operators ...Operator) Parameter {
	return ParameterFor(Form, name, description, operators...)
}
func FileParameterFor(name string, description string, operators ...Operator) Parameter {
	return ParameterFor(File, name, description, operators...)
}
func BodyParameterFor(description string, operators ...Operator) Parameter {
	return BodyParameterWithNameFor("", description, operators...)
}
func BodyParameterWithNameFor(name string, description string, operators ...Operator) Parameter {
	return ParameterFor(Body, name, description, operators...)
}
func PrefabParameterFor(name string, description string, operators ...Operator) Parameter {
	return ParameterFor(Prefab, name, description, operators...)
}
func AutoParameterFor(description string, operators ...Operator) Parameter {
	return ParameterFor(Auto, "", description, operators...)
}