oas

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2026 License: BSD-3-Clause Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidationMiddleware added in v0.6.0

func ValidationMiddleware(spec *openapi3.T) func(http.Handler) http.Handler

ValidationMiddleware returns a middleware function that will validate incoming requests using the input OAS before calling the input next handler.

Types

type Opts

type Opts struct {
	Cfg *config.OASConfig
}

type Validator added in v0.8.1

type Validator interface {
	composer.FlowComponent
	custom.Ordered
	adminext.OASBackend
}

func NewComponent added in v0.8.0

func NewComponent(opts *Opts) Validator

Jump to

Keyboard shortcuts

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