Documentation
¶
Overview ¶
Package srv provides primitives to interact the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen DO NOT EDIT.
Package srv provides primitives to interact the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen DO NOT EDIT.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterHandlers ¶
func RegisterHandlers(router interface {
CONNECT(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
DELETE(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
GET(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
HEAD(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
OPTIONS(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
PATCH(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
POST(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
PUT(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
TRACE(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
}, si ServerInterface)
RegisterHandlers adds each server route to the EchoRouter.
Types ¶
type App ¶
type App struct {
Concept ConceptMeta `json:"concept"`
Meta AppMeta `json:"meta"`
Values *[]struct {
Id *string `json:"id,omitempty"`
Value *string `json:"value,omitempty"`
} `json:"values,omitempty"`
}
App defines model for App.
type Concept ¶
type Concept struct {
Meta ConceptMeta `json:"meta"`
Values *struct {
Mandatory *ValueList `json:"mandatory,omitempty"`
Optional *ValueList `json:"optional,omitempty"`
} `json:"values,omitempty"`
}
Concept defines model for Concept.
type ConceptMeta ¶
ConceptMeta defines model for ConceptMeta.
type DeleteAppsJSONRequestBody ¶
type DeleteAppsJSONRequestBody deleteAppsJSONBody
DeleteAppsRequestBody defines body for DeleteApps for application/json ContentType.
type ServerInterface ¶
type ServerInterface interface {
// (DELETE /apps)
DeleteApps(ctx echo.Context) error
// (GET /apps)
GetApps(ctx echo.Context) error
// (POST /apps)
PostApps(ctx echo.Context) error
// Your GET endpoint// (GET /concepts)
GetConcepts(ctx echo.Context) error
}
ServerInterface represents all server handlers.
type ServerInterfaceWrapper ¶
type ServerInterfaceWrapper struct {
Handler ServerInterface
}
ServerInterfaceWrapper converts echo contexts to parameters.
func (*ServerInterfaceWrapper) DeleteApps ¶
func (w *ServerInterfaceWrapper) DeleteApps(ctx echo.Context) error
DeleteApps converts echo context to params.
func (*ServerInterfaceWrapper) GetApps ¶
func (w *ServerInterfaceWrapper) GetApps(ctx echo.Context) error
GetApps converts echo context to params.
func (*ServerInterfaceWrapper) GetConcepts ¶
func (w *ServerInterfaceWrapper) GetConcepts(ctx echo.Context) error
GetConcepts converts echo context to params.