v1alpha1

package
v0.0.0-...-e1cdcfb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL