Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Data ¶
type Data struct {
Title string `json:"title"`
OpenAPIURL string `json:"openapiURL"`
HideExport bool `json:"hideExport"`
HideSchemas bool `json:"hideSchemas"`
HideTryIt bool `json:"hideTryIt"`
HideTryItPanel bool `json:"hideTryItPanel"`
Layout config.ElementLayout `json:"layout"`
Logo string `json:"logo"`
Router config.ElementRouter `json:"router"`
}
type Handler ¶
Handler handles swagger UI request.
func NewHandler ¶
NewHandler returns a HTTP handler for swagger UI.
Click to show internal directories.
Click to hide internal directories.