openapi

package module
v0.0.0-...-74e2e9f Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2021 License: GPL-3.0 Imports: 4 Imported by: 0

README

go-logger

WARN: this is a personal project and doesn't provide backward compatibility, API can be changed without notices

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OpenAPI

type OpenAPI struct {
	// contains filtered or unexported fields
}

OpenAPI ...

func NewFromData

func NewFromData(data []byte) (*OpenAPI, error)

NewFromData creates openapi validation middleware

func NewFromFile

func NewFromFile(path string) (*OpenAPI, error)

NewFromFile creates openapi validation middleware

func (*OpenAPI) Middleware

func (api *OpenAPI) Middleware(next http.Handler) http.Handler

Jump to

Keyboard shortcuts

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