apidoc

package
v2.0.43 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: MIT Imports: 0 Imported by: 1

Documentation

Index

Constants

View Source
const (
	AppName = "apidoc"
)
View Source
const HTML_REDOC = `` /* 622-byte string literal not displayed */

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiDoc added in v2.0.5

type ApiDoc struct {
	// Swagger API Doc BASE API URL路径
	BasePath string `json:"base_path" yaml:"base_path" toml:"base_path" env:"BASE_PATH"`
	// Swagger JSON API path
	JsonPath string `json:"json_path" yaml:"json_path" toml:"json_path" env:"JSON_PATH"`
	// Swagger UI path
	UIPath string `json:"ui_path" yaml:"ui_path" toml:"ui_path" env:"UI_PATH"`
}

func DefaultApiDoc added in v2.0.35

func DefaultApiDoc() *ApiDoc

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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