Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
OpenAPITags = []api.Tag{
{Name: "Documentation", Description: ""},
}
)
Functions ¶
func NewGetDocsEndpoint ¶
func NewGetDocsEndpoint() endpoint.EndpointHandler
func NewGetOpenapiEndpoint ¶
func NewGetOpenapiEndpoint() endpoint.EndpointHandler
Types ¶
type GetDocsEndpoint ¶
func (*GetDocsEndpoint) ServeHTTP ¶
func (ep *GetDocsEndpoint) ServeHTTP(w http.ResponseWriter, r *http.Request)
type GetDocsRequest ¶
type GetDocsRequest struct{}
type GetOpenapiEndpoint ¶
https://golang.org/doc/effective_go#embedding
func (GetOpenapiEndpoint) ServeHTTP ¶
func (ep GetOpenapiEndpoint) ServeHTTP(w http.ResponseWriter, r *http.Request)
type GetOpenapiRequest ¶
type GetOpenapiRequest struct {
Format string `json:"format" oas-query:"format" query:"format" oas-desc:"Format returned by the endpoint, eg. json"`
}
type GetOpenapiResponse ¶
Click to show internal directories.
Click to hide internal directories.