Documentation ¶
Index ¶
Constants ¶
View Source
const ( SwaggerUITemplateKey = "openapi_url" SwaggerUITemplateValuePrefix = "/api/hub.io/v1alpha1/openapi/data?openapi_url=%s" SwaggerUITemplateName = "template.html" )
View Source
const SwaggerUITemplateHTML = `` /* 672-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OpenAPIHandler ¶
type OpenAPIHandler struct {
OpenAPIApp application.OpenAPIAppInterface
}
func NewOpenAPIHandler ¶
func NewOpenAPIHandler(config *config.Config) *OpenAPIHandler
func (*OpenAPIHandler) IninPluginMetadata ¶
func (o *OpenAPIHandler) IninPluginMetadata(w http.ResponseWriter, r *http.Request)
func (*OpenAPIHandler) OpenAPIHandler ¶
func (o *OpenAPIHandler) OpenAPIHandler(w http.ResponseWriter, r *http.Request)
func (*OpenAPIHandler) OpenAPIHandlerData ¶
func (o *OpenAPIHandler) OpenAPIHandlerData(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.