Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Extractor ¶
type Extractor struct {
Debug bool
}
func (*Extractor) ExtractRequestValidation ¶
func (*Extractor) ExtractResponseValidation ¶
func (e *Extractor) ExtractResponseValidation(ctx context.Context, validation *RequestValidation, res *http.Response) ResponseValidation
type Middleware ¶
func (*Middleware) ServeHTTP ¶
func (v *Middleware) ServeHTTP(w http.ResponseWriter, req *http.Request)
type MiddlewareBuilder ¶
func NewBuilder ¶
func NewBuilder(doc *openapi3.T, debug bool) *MiddlewareBuilder
func (*MiddlewareBuilder) BuildMiddleware ¶
type RequestValidation ¶
type RequestValidation struct { Route *routers.Route Input *openapi3filter.RequestValidationInput Error error }
type ResponseValidation ¶
type ResponseValidation struct { Route *routers.Route Input *openapi3filter.ResponseValidationInput Error error }
Click to show internal directories.
Click to hide internal directories.