Documentation ¶
Index ¶
- Constants
- func ListEndpointHandler(doc *openapi3.T, extras ...Endpoint) http.HandlerFunc
- func NewHandler(doc *openapi3.T, basePath string) http.Handler
- func OpenAPIDocHandler(doc *openapi3.T) http.HandlerFunc
- func RedocHandler(doc *openapi3.T, basePath string) http.HandlerFunc
- func SwaggerUIHandler(doc *openapi3.T, basePath string) http.HandlerFunc
- type Endpoint
Constants ¶
View Source
const REDOC_TEMPLATE = `` /* 571-byte string literal not displayed */
View Source
const SWAGGER_UI_TEMPLATE = `` /* 787-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
func ListEndpointHandler ¶
func ListEndpointHandler(doc *openapi3.T, extras ...Endpoint) http.HandlerFunc
func OpenAPIDocHandler ¶
func OpenAPIDocHandler(doc *openapi3.T) http.HandlerFunc
func RedocHandler ¶ added in v0.1.1
func RedocHandler(doc *openapi3.T, basePath string) http.HandlerFunc
func SwaggerUIHandler ¶
func SwaggerUIHandler(doc *openapi3.T, basePath string) http.HandlerFunc
Types ¶
Click to show internal directories.
Click to hide internal directories.