swagger

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SpecTypeJSON = `json`
	SpecTypeYAML = `yaml`
)

Variables

This section is empty.

Functions

func Handler

func Handler(spec []byte, spectype SpecType) http.Handler

Handler

Types

type SpecType

type SpecType string

SpecType represents one of the two types of Swagger spec

Jump to

Keyboard shortcuts

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