swagger

package
v0.0.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteJSON

func WriteJSON(c SwaggerConfig) error

Types

type SwaggerConfig

type SwaggerConfig struct {
	Swagger *spec.Swagger
}

func (*SwaggerConfig) Init

func (c *SwaggerConfig) Init()

func (*SwaggerConfig) SetInfo

func (c *SwaggerConfig) SetInfo(i spec.InfoProps)

func (*SwaggerConfig) SetPath

func (c *SwaggerConfig) SetPath(r types.Route, m types.Module, cfg types.Config)

func (*SwaggerConfig) SetVersion

func (c *SwaggerConfig) SetVersion()

Jump to

Keyboard shortcuts

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