swagger

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	JSONBodyType       = "json"
	FormDataBodyType   = "form-data"
	XWWWFormURLEncoded = "x-www-form-urlencoded"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Swagger

type Swagger struct {

	//parseStruct        *parseStruct
	InnerDefinitions map[string]spec.Schema
	// contains filtered or unexported fields
}

func NewSwagger

func NewSwagger(apiDir string) *Swagger

func (*Swagger) Gen

func (s *Swagger) Gen() error

func (*Swagger) Write

func (s *Swagger) Write() error

Jump to

Keyboard shortcuts

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