package
1.16.3
Repository: https://github.com/deepmap/oapi-codegen.git
Documentation: pkg.go.dev

# Functions

GetIrisContext gets the iris context from within requests.
Deprecated: This has been replaced by https://pkg.go.dev/github.com/oapi-codegen/iris-middleware#GetUserData.
OapiRequestValidator is a iris middleware function which validates incoming HTTP requests to make sure that they conform to the given OAPI 3.0 specification.
OapiRequestValidatorWithOptions creates a validator from a swagger object, with validation options Deprecated: This has been replaced by https://pkg.go.dev/github.com/oapi-codegen/iris-middleware#OapiRequestValidatorWithOptions.
OapiValidatorFromYamlFile creates a validator middleware from a YAML file path Deprecated: This has been replaced by https://pkg.go.dev/github.com/oapi-codegen/iris-middleware#OapiValidatorFromYamlFile.
ValidateRequestFromContext is called from the middleware above and actually does the work of validating a request.

# Constants

No description provided by the author
No description provided by the author

# Structs

Options to customize request validation.

# Type aliases

ErrorHandler is called when there is an error in validation Deprecated: This has been replaced by https://pkg.go.dev/github.com/oapi-codegen/iris-middleware#ErrorHandler.
MultiErrorHandler is called when oapi returns a MultiError type Deprecated: This has been replaced by https://pkg.go.dev/github.com/oapi-codegen/iris-middleware#MultiErrorHandler.