Documentation
¶
Overview ¶
Package v5cdn provides Swagger UI v5 via CDN.
Index ¶
Constants ¶
View Source
const ( // AssetsBase is a base URL for the assets. AssetsBase = "https://cdn.jsdelivr.net/npm/swagger-ui@5.32.4/dist/" // FaviconBase is a base URL for favicons. FaviconBase = "https://petstore.swagger.io/" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Handler ¶
Handler handle swagger UI request.
func NewHandler ¶
NewHandler creates HTTP handler for Swagger UI.
func NewHandlerWithConfig ¶
NewHandlerWithConfig creates HTTP handler for Swagger UI.
Click to show internal directories.
Click to hide internal directories.