Documentation
¶
Overview ¶
Package parameters provides primitives to interact the openapi HTTP API.
This is an autogenerated file, any edits which you make here will be lost!
Index ¶
- func GetSwagger() (*openapi3.Swagger, error)
- func NewGetContentObjectRequest(server string, param ComplexObject) (*http.Request, error)
- func NewGetCookieRequest(server string, params *GetCookieParams) (*http.Request, error)
- func NewGetHeaderRequest(server string, params *GetHeaderParams) (*http.Request, error)
- func NewGetLabelExplodeArrayRequest(server string, param []int32) (*http.Request, error)
- func NewGetLabelExplodeObjectRequest(server string, param Object) (*http.Request, error)
- func NewGetLabelNoExplodeArrayRequest(server string, param []int32) (*http.Request, error)
- func NewGetLabelNoExplodeObjectRequest(server string, param Object) (*http.Request, error)
- func NewGetMatrixExplodeArrayRequest(server string, id []int32) (*http.Request, error)
- func NewGetMatrixExplodeObjectRequest(server string, id Object) (*http.Request, error)
- func NewGetMatrixNoExplodeArrayRequest(server string, id []int32) (*http.Request, error)
- func NewGetMatrixNoExplodeObjectRequest(server string, id Object) (*http.Request, error)
- func NewGetPassThroughRequest(server string, param string) (*http.Request, error)
- func NewGetQueryFormRequest(server string, params *GetQueryFormParams) (*http.Request, error)
- func NewGetSimpleExplodeArrayRequest(server string, param []int32) (*http.Request, error)
- func NewGetSimpleExplodeObjectRequest(server string, param Object) (*http.Request, error)
- func NewGetSimpleNoExplodeArrayRequest(server string, param []int32) (*http.Request, error)
- func NewGetSimpleNoExplodeObjectRequest(server string, param Object) (*http.Request, error)
- func NewGetSimplePrimitiveRequest(server string, param int32) (*http.Request, error)
- func RegisterHandlers(router runtime.EchoRouter, si ServerInterface)
- type Client
- func (c *Client) GetContentObject(ctx context.Context, param ComplexObject) (*http.Response, error)
- func (c *Client) GetCookie(ctx context.Context, params *GetCookieParams) (*http.Response, error)
- func (c *Client) GetHeader(ctx context.Context, params *GetHeaderParams) (*http.Response, error)
- func (c *Client) GetLabelExplodeArray(ctx context.Context, param []int32) (*http.Response, error)
- func (c *Client) GetLabelExplodeObject(ctx context.Context, param Object) (*http.Response, error)
- func (c *Client) GetLabelNoExplodeArray(ctx context.Context, param []int32) (*http.Response, error)
- func (c *Client) GetLabelNoExplodeObject(ctx context.Context, param Object) (*http.Response, error)
- func (c *Client) GetMatrixExplodeArray(ctx context.Context, id []int32) (*http.Response, error)
- func (c *Client) GetMatrixExplodeObject(ctx context.Context, id Object) (*http.Response, error)
- func (c *Client) GetMatrixNoExplodeArray(ctx context.Context, id []int32) (*http.Response, error)
- func (c *Client) GetMatrixNoExplodeObject(ctx context.Context, id Object) (*http.Response, error)
- func (c *Client) GetPassThrough(ctx context.Context, param string) (*http.Response, error)
- func (c *Client) GetQueryForm(ctx context.Context, params *GetQueryFormParams) (*http.Response, error)
- func (c *Client) GetSimpleExplodeArray(ctx context.Context, param []int32) (*http.Response, error)
- func (c *Client) GetSimpleExplodeObject(ctx context.Context, param Object) (*http.Response, error)
- func (c *Client) GetSimpleNoExplodeArray(ctx context.Context, param []int32) (*http.Response, error)
- func (c *Client) GetSimpleNoExplodeObject(ctx context.Context, param Object) (*http.Response, error)
- func (c *Client) GetSimplePrimitive(ctx context.Context, param int32) (*http.Response, error)
- type ComplexObject
- type GetCookieParams
- type GetHeaderParams
- type GetQueryFormParams
- type Object
- type ServerInterface
- type ServerInterfaceWrapper
- func (w *ServerInterfaceWrapper) GetContentObject(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetCookie(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetHeader(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetLabelExplodeArray(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetLabelExplodeObject(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetLabelNoExplodeArray(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetLabelNoExplodeObject(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetMatrixExplodeArray(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetMatrixExplodeObject(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetMatrixNoExplodeArray(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetMatrixNoExplodeObject(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetPassThrough(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetQueryForm(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetSimpleExplodeArray(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetSimpleExplodeObject(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetSimpleNoExplodeArray(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetSimpleNoExplodeObject(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetSimplePrimitive(ctx echo.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSwagger ¶
GetSwagger returns the Swagger specification corresponding to the generated code in this file.
func NewGetContentObjectRequest ¶ added in v1.1.0
func NewGetContentObjectRequest(server string, param ComplexObject) (*http.Request, error)
NewGetContentObjectRequest generates requests for GetContentObject
func NewGetCookieRequest ¶ added in v1.1.0
func NewGetCookieRequest(server string, params *GetCookieParams) (*http.Request, error)
NewGetCookieRequest generates requests for GetCookie
func NewGetHeaderRequest ¶ added in v1.1.0
func NewGetHeaderRequest(server string, params *GetHeaderParams) (*http.Request, error)
NewGetHeaderRequest generates requests for GetHeader
func NewGetLabelExplodeArrayRequest ¶ added in v1.1.0
NewGetLabelExplodeArrayRequest generates requests for GetLabelExplodeArray
func NewGetLabelExplodeObjectRequest ¶ added in v1.1.0
NewGetLabelExplodeObjectRequest generates requests for GetLabelExplodeObject
func NewGetLabelNoExplodeArrayRequest ¶ added in v1.1.0
NewGetLabelNoExplodeArrayRequest generates requests for GetLabelNoExplodeArray
func NewGetLabelNoExplodeObjectRequest ¶ added in v1.1.0
NewGetLabelNoExplodeObjectRequest generates requests for GetLabelNoExplodeObject
func NewGetMatrixExplodeArrayRequest ¶ added in v1.1.0
NewGetMatrixExplodeArrayRequest generates requests for GetMatrixExplodeArray
func NewGetMatrixExplodeObjectRequest ¶ added in v1.1.0
NewGetMatrixExplodeObjectRequest generates requests for GetMatrixExplodeObject
func NewGetMatrixNoExplodeArrayRequest ¶ added in v1.1.0
NewGetMatrixNoExplodeArrayRequest generates requests for GetMatrixNoExplodeArray
func NewGetMatrixNoExplodeObjectRequest ¶ added in v1.1.0
NewGetMatrixNoExplodeObjectRequest generates requests for GetMatrixNoExplodeObject
func NewGetPassThroughRequest ¶ added in v1.1.0
NewGetPassThroughRequest generates requests for GetPassThrough
func NewGetQueryFormRequest ¶ added in v1.1.0
func NewGetQueryFormRequest(server string, params *GetQueryFormParams) (*http.Request, error)
NewGetQueryFormRequest generates requests for GetQueryForm
func NewGetSimpleExplodeArrayRequest ¶ added in v1.1.0
NewGetSimpleExplodeArrayRequest generates requests for GetSimpleExplodeArray
func NewGetSimpleExplodeObjectRequest ¶ added in v1.1.0
NewGetSimpleExplodeObjectRequest generates requests for GetSimpleExplodeObject
func NewGetSimpleNoExplodeArrayRequest ¶ added in v1.1.0
NewGetSimpleNoExplodeArrayRequest generates requests for GetSimpleNoExplodeArray
func NewGetSimpleNoExplodeObjectRequest ¶ added in v1.1.0
NewGetSimpleNoExplodeObjectRequest generates requests for GetSimpleNoExplodeObject
func NewGetSimplePrimitiveRequest ¶ added in v1.1.0
NewGetSimplePrimitiveRequest generates requests for GetSimplePrimitive
func RegisterHandlers ¶
func RegisterHandlers(router runtime.EchoRouter, si ServerInterface)
RegisterHandlers adds each server route to the EchoRouter.
Types ¶
type Client ¶ added in v1.1.0
type Client struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example.
Server string
// HTTP client with any customized settings, such as certificate chains.
Client http.Client
// A callback for modifying requests which are generated before sending over
// the network.
RequestEditor func(req *http.Request, ctx context.Context) error
}
Client which conforms to the OpenAPI3 specification for this service.
func (*Client) GetContentObject ¶ added in v1.1.0
GetContentObject request
func (*Client) GetLabelExplodeArray ¶ added in v1.1.0
GetLabelExplodeArray request
func (*Client) GetLabelExplodeObject ¶ added in v1.1.0
GetLabelExplodeObject request
func (*Client) GetLabelNoExplodeArray ¶ added in v1.1.0
GetLabelNoExplodeArray request
func (*Client) GetLabelNoExplodeObject ¶ added in v1.1.0
GetLabelNoExplodeObject request
func (*Client) GetMatrixExplodeArray ¶ added in v1.1.0
GetMatrixExplodeArray request
func (*Client) GetMatrixExplodeObject ¶ added in v1.1.0
GetMatrixExplodeObject request
func (*Client) GetMatrixNoExplodeArray ¶ added in v1.1.0
GetMatrixNoExplodeArray request
func (*Client) GetMatrixNoExplodeObject ¶ added in v1.1.0
GetMatrixNoExplodeObject request
func (*Client) GetPassThrough ¶ added in v1.1.0
GetPassThrough request
func (*Client) GetQueryForm ¶ added in v1.1.0
func (c *Client) GetQueryForm(ctx context.Context, params *GetQueryFormParams) (*http.Response, error)
GetQueryForm request
func (*Client) GetSimpleExplodeArray ¶ added in v1.1.0
GetSimpleExplodeArray request
func (*Client) GetSimpleExplodeObject ¶ added in v1.1.0
GetSimpleExplodeObject request
func (*Client) GetSimpleNoExplodeArray ¶ added in v1.1.0
func (c *Client) GetSimpleNoExplodeArray(ctx context.Context, param []int32) (*http.Response, error)
GetSimpleNoExplodeArray request
type ComplexObject ¶
ComplexObject defines component schema for ComplexObject.
type GetCookieParams ¶ added in v1.1.0
type GetCookieParams struct {
P *int32 `json:"p,omitempty"`
Ep *int32 `json:"ep,omitempty"`
Ea *[]int32 `json:"ea,omitempty"`
A *[]int32 `json:"a,omitempty"`
Eo *Object `json:"eo,omitempty"`
O *Object `json:"o,omitempty"`
Co *ComplexObject `json:"co,omitempty"`
}
GetCookieParams defines parameters for GetCookie.
type GetHeaderParams ¶
type GetHeaderParams struct {
XPrimitive *int32 `json:"X-Primitive,omitempty"`
XPrimitiveExploded *int32 `json:"X-Primitive-Exploded,omitempty"`
XArrayExploded *[]int32 `json:"X-Array-Exploded,omitempty"`
XArray *[]int32 `json:"X-Array,omitempty"`
XObjectExploded *Object `json:"X-Object-Exploded,omitempty"`
XObject *Object `json:"X-Object,omitempty"`
XComplexObject *ComplexObject `json:"X-Complex-Object,omitempty"`
}
GetHeaderParams defines parameters for GetHeader.
type GetQueryFormParams ¶
type GetQueryFormParams struct {
Ea *[]int32 `json:"ea,omitempty"`
A *[]int32 `json:"a,omitempty"`
Eo *Object `json:"eo,omitempty"`
O *Object `json:"o,omitempty"`
Ep *int32 `json:"ep,omitempty"`
P *int32 `json:"p,omitempty"`
Co *ComplexObject `json:"co,omitempty"`
}
GetQueryFormParams defines parameters for GetQueryForm.
type ServerInterface ¶
type ServerInterface interface {
// (GET /contentObject/{param})
GetContentObject(ctx echo.Context, param ComplexObject) error
// (GET /cookie)
GetCookie(ctx echo.Context, params GetCookieParams) error
// (GET /header)
GetHeader(ctx echo.Context, params GetHeaderParams) error
// (GET /labelExplodeArray/{.param*})
GetLabelExplodeArray(ctx echo.Context, param []int32) error
// (GET /labelExplodeObject/{.param*})
GetLabelExplodeObject(ctx echo.Context, param Object) error
// (GET /labelNoExplodeArray/{.param})
GetLabelNoExplodeArray(ctx echo.Context, param []int32) error
// (GET /labelNoExplodeObject/{.param})
GetLabelNoExplodeObject(ctx echo.Context, param Object) error
// (GET /matrixExplodeArray/{.id*})
GetMatrixExplodeArray(ctx echo.Context, id []int32) error
// (GET /matrixExplodeObject/{.id*})
GetMatrixExplodeObject(ctx echo.Context, id Object) error
// (GET /matrixNoExplodeArray/{.id})
GetMatrixNoExplodeArray(ctx echo.Context, id []int32) error
// (GET /matrixNoExplodeObject/{.id})
GetMatrixNoExplodeObject(ctx echo.Context, id Object) error
// (GET /passThrough/{param})
GetPassThrough(ctx echo.Context, param string) error
// (GET /queryForm)
GetQueryForm(ctx echo.Context, params GetQueryFormParams) error
// (GET /simpleExplodeArray/{param*})
GetSimpleExplodeArray(ctx echo.Context, param []int32) error
// (GET /simpleExplodeObject/{param*})
GetSimpleExplodeObject(ctx echo.Context, param Object) error
// (GET /simpleNoExplodeArray/{param})
GetSimpleNoExplodeArray(ctx echo.Context, param []int32) error
// (GET /simpleNoExplodeObject/{param})
GetSimpleNoExplodeObject(ctx echo.Context, param Object) error
// (GET /simplePrimitive/{param})
GetSimplePrimitive(ctx echo.Context, param int32) error
}
ServerInterface represents all server handlers.
type ServerInterfaceWrapper ¶
type ServerInterfaceWrapper struct {
Handler ServerInterface
}
ServerInterfaceWrapper converts echo contexts to parameters.
func (*ServerInterfaceWrapper) GetContentObject ¶
func (w *ServerInterfaceWrapper) GetContentObject(ctx echo.Context) error
GetContentObject converts echo context to params.
func (*ServerInterfaceWrapper) GetCookie ¶ added in v1.1.0
func (w *ServerInterfaceWrapper) GetCookie(ctx echo.Context) error
GetCookie converts echo context to params.
func (*ServerInterfaceWrapper) GetHeader ¶
func (w *ServerInterfaceWrapper) GetHeader(ctx echo.Context) error
GetHeader converts echo context to params.
func (*ServerInterfaceWrapper) GetLabelExplodeArray ¶
func (w *ServerInterfaceWrapper) GetLabelExplodeArray(ctx echo.Context) error
GetLabelExplodeArray converts echo context to params.
func (*ServerInterfaceWrapper) GetLabelExplodeObject ¶
func (w *ServerInterfaceWrapper) GetLabelExplodeObject(ctx echo.Context) error
GetLabelExplodeObject converts echo context to params.
func (*ServerInterfaceWrapper) GetLabelNoExplodeArray ¶
func (w *ServerInterfaceWrapper) GetLabelNoExplodeArray(ctx echo.Context) error
GetLabelNoExplodeArray converts echo context to params.
func (*ServerInterfaceWrapper) GetLabelNoExplodeObject ¶
func (w *ServerInterfaceWrapper) GetLabelNoExplodeObject(ctx echo.Context) error
GetLabelNoExplodeObject converts echo context to params.
func (*ServerInterfaceWrapper) GetMatrixExplodeArray ¶
func (w *ServerInterfaceWrapper) GetMatrixExplodeArray(ctx echo.Context) error
GetMatrixExplodeArray converts echo context to params.
func (*ServerInterfaceWrapper) GetMatrixExplodeObject ¶
func (w *ServerInterfaceWrapper) GetMatrixExplodeObject(ctx echo.Context) error
GetMatrixExplodeObject converts echo context to params.
func (*ServerInterfaceWrapper) GetMatrixNoExplodeArray ¶
func (w *ServerInterfaceWrapper) GetMatrixNoExplodeArray(ctx echo.Context) error
GetMatrixNoExplodeArray converts echo context to params.
func (*ServerInterfaceWrapper) GetMatrixNoExplodeObject ¶
func (w *ServerInterfaceWrapper) GetMatrixNoExplodeObject(ctx echo.Context) error
GetMatrixNoExplodeObject converts echo context to params.
func (*ServerInterfaceWrapper) GetPassThrough ¶
func (w *ServerInterfaceWrapper) GetPassThrough(ctx echo.Context) error
GetPassThrough converts echo context to params.
func (*ServerInterfaceWrapper) GetQueryForm ¶
func (w *ServerInterfaceWrapper) GetQueryForm(ctx echo.Context) error
GetQueryForm converts echo context to params.
func (*ServerInterfaceWrapper) GetSimpleExplodeArray ¶
func (w *ServerInterfaceWrapper) GetSimpleExplodeArray(ctx echo.Context) error
GetSimpleExplodeArray converts echo context to params.
func (*ServerInterfaceWrapper) GetSimpleExplodeObject ¶
func (w *ServerInterfaceWrapper) GetSimpleExplodeObject(ctx echo.Context) error
GetSimpleExplodeObject converts echo context to params.
func (*ServerInterfaceWrapper) GetSimpleNoExplodeArray ¶
func (w *ServerInterfaceWrapper) GetSimpleNoExplodeArray(ctx echo.Context) error
GetSimpleNoExplodeArray converts echo context to params.
func (*ServerInterfaceWrapper) GetSimpleNoExplodeObject ¶
func (w *ServerInterfaceWrapper) GetSimpleNoExplodeObject(ctx echo.Context) error
GetSimpleNoExplodeObject converts echo context to params.
func (*ServerInterfaceWrapper) GetSimplePrimitive ¶
func (w *ServerInterfaceWrapper) GetSimplePrimitive(ctx echo.Context) error
GetSimplePrimitive converts echo context to params.