ingress

package
v0.82.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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 ValidateAndExtractBody

func ValidateAndExtractBody(route *dal.IngressRoute, r *http.Request, sch *schema.Schema) ([]byte, error)

ValidateAndExtractBody validates the request body against the schema and extracts the request body as a JSON blob.

func ValidateCallBody added in v0.82.0

func ValidateCallBody(body []byte, verbRef *schema.VerbRef, sch *schema.Schema) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL