oapimiddleware

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const BuffaloContextKey = "oapi-codegen/buffalo-context"

Variables

This section is empty.

Functions

func BuffaloOAPIMiddleware

func BuffaloOAPIMiddleware(next buffalo.Handler) buffalo.Handler

BuffaloOAPIMiddleware validates against the Swagger definition

func New

func New(s *openapi3.Swagger)

Create a validator from a swagger object.

Types

This section is empty.

Jump to

Keyboard shortcuts

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