swagger

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const Version = "5.17.14"

Variables

This section is empty.

Functions

This section is empty.

Types

type Router added in v0.0.2

type Router struct {
	Path    string
	Handler func(writer http.ResponseWriter)
}

func GetSwagger

func GetSwagger(path, title, favicon string, openapiJsonBody []byte) (routers []Router)

type Swagger

type Swagger struct {
	Title                       string
	Index                       fileInfo
	CssIndex                    fileInfo
	CssSwaggerUI                fileInfo
	JsSwaggerInitializer        fileInfo
	JsSwaggerUiBundle           fileInfo
	JsSwaggerUiStandalonePreset fileInfo
	OpenAPIPath                 string
}

Jump to

Keyboard shortcuts

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