Documentation ¶
Index ¶
- func GetIngressRoute(routes []dal.IngressRoute, method string, path string) (*dal.IngressRoute, error)
- func ValidateAndExtractRequestBody(route *dal.IngressRoute, r *http.Request, sch *schema.Schema) ([]byte, error)
- func ValidateCallBody(body []byte, verbRef *schema.VerbRef, sch *schema.Schema) error
- type HTTPRequest
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 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 ¶
Click to show internal directories.
Click to hide internal directories.