Versions in this module Expand all Collapse all v0 v0.0.1 Jul 30, 2024 Changes in this version + const GinContextKey + const UserDataKey + func GetGinContext(c context.Context) *gin.Context + func GetUserData(c context.Context) interface + func OapiRequestValidator(swagger *openapi3.T) gin.HandlerFunc + func OapiRequestValidatorWithOptions(swagger *openapi3.T, options *Options) gin.HandlerFunc + func OapiValidatorFromYamlFile(path string) (gin.HandlerFunc, error) + func ValidateRequestFromContext(c *gin.Context, router routers.Router, options *Options) error + type ErrorHandler func(c *gin.Context, message string, statusCode int) + type MultiErrorHandler func(openapi3.MultiError) error + type Options struct + ErrorHandler ErrorHandler + MultiErrorHandler MultiErrorHandler + Options openapi3filter.Options + ParamDecoder openapi3filter.ContentParameterDecoder + SilenceServersWarning bool + UserData interface{}