Documentation ¶
Index ¶
- func GetIngressRoute(routes []dal.IngressRoute, method string, path string) (*dal.IngressRoute, error)
- func ResponseBodyForVerb(sch *schema.Schema, verb *schema.Verb, body []byte, ...) ([]byte, error)
- func SetDefaultContentType(headers map[string][]string)
- func ValidateAndExtractRequestBody(route *dal.IngressRoute, r *http.Request, sch *schema.Schema) ([]byte, error)
- func ValidateCallBody(body []byte, verbRef *schema.VerbRef, sch *schema.Schema) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetIngressRoute ¶
func GetIngressRoute(routes []dal.IngressRoute, method string, path string) (*dal.IngressRoute, error)
func ResponseBodyForVerb ¶ added in v0.113.0
func SetDefaultContentType ¶ added in v0.112.0
func ValidateAndExtractRequestBody ¶ added in v0.91.0
func ValidateAndExtractRequestBody(route *dal.IngressRoute, r *http.Request, sch *schema.Schema) ([]byte, error)
ValidateAndExtractRequestBody extracts the HttpRequest body from an HTTP request.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.