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
Click to show internal directories.
Click to hide internal directories.