Documentation ¶
Overview ¶
Package parameters provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen version (devel) DO NOT EDIT.
Index ¶
- func GetSwagger() (swagger *openapi3.T, err error)
- func NewEnumParamsRequest(server string, params *EnumParamsParams) (*http.Request, error)
- func NewGetContentObjectRequest(server string, param ComplexObject) (*http.Request, error)
- func NewGetCookieRequest(server string, params *GetCookieParams) (*http.Request, error)
- func NewGetDeepObjectRequest(server string, params *GetDeepObjectParams) (*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 NewGetStartingWithNumberRequest(server string, n1param string) (*http.Request, error)
- func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)
- func RegisterHandlers(router EchoRouter, si ServerInterface)
- func RegisterHandlersWithBaseURL(router EchoRouter, si ServerInterface, baseURL string)
- type Client
- func (c *Client) EnumParams(ctx context.Context, params *EnumParamsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetContentObject(ctx context.Context, param ComplexObject, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetCookie(ctx context.Context, params *GetCookieParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetDeepObject(ctx context.Context, params *GetDeepObjectParams, ...) (*http.Response, error)
- func (c *Client) GetHeader(ctx context.Context, params *GetHeaderParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetLabelExplodeArray(ctx context.Context, param []int32, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetLabelExplodeObject(ctx context.Context, param Object, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetLabelNoExplodeArray(ctx context.Context, param []int32, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetLabelNoExplodeObject(ctx context.Context, param Object, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetMatrixExplodeArray(ctx context.Context, id []int32, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetMatrixExplodeObject(ctx context.Context, id Object, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetMatrixNoExplodeArray(ctx context.Context, id []int32, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetMatrixNoExplodeObject(ctx context.Context, id Object, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPassThrough(ctx context.Context, param string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetQueryForm(ctx context.Context, params *GetQueryFormParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSimpleExplodeArray(ctx context.Context, param []int32, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSimpleExplodeObject(ctx context.Context, param Object, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSimpleNoExplodeArray(ctx context.Context, param []int32, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSimpleNoExplodeObject(ctx context.Context, param Object, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSimplePrimitive(ctx context.Context, param int32, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetStartingWithNumber(ctx context.Context, n1param string, reqEditors ...RequestEditorFn) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) EnumParamsWithResponse(ctx context.Context, params *EnumParamsParams, reqEditors ...RequestEditorFn) (*EnumParamsResponse, error)
- func (c *ClientWithResponses) GetContentObjectWithResponse(ctx context.Context, param ComplexObject, reqEditors ...RequestEditorFn) (*GetContentObjectResponse, error)
- func (c *ClientWithResponses) GetCookieWithResponse(ctx context.Context, params *GetCookieParams, reqEditors ...RequestEditorFn) (*GetCookieResponse, error)
- func (c *ClientWithResponses) GetDeepObjectWithResponse(ctx context.Context, params *GetDeepObjectParams, ...) (*GetDeepObjectResponse, error)
- func (c *ClientWithResponses) GetHeaderWithResponse(ctx context.Context, params *GetHeaderParams, reqEditors ...RequestEditorFn) (*GetHeaderResponse, error)
- func (c *ClientWithResponses) GetLabelExplodeArrayWithResponse(ctx context.Context, param []int32, reqEditors ...RequestEditorFn) (*GetLabelExplodeArrayResponse, error)
- func (c *ClientWithResponses) GetLabelExplodeObjectWithResponse(ctx context.Context, param Object, reqEditors ...RequestEditorFn) (*GetLabelExplodeObjectResponse, error)
- func (c *ClientWithResponses) GetLabelNoExplodeArrayWithResponse(ctx context.Context, param []int32, reqEditors ...RequestEditorFn) (*GetLabelNoExplodeArrayResponse, error)
- func (c *ClientWithResponses) GetLabelNoExplodeObjectWithResponse(ctx context.Context, param Object, reqEditors ...RequestEditorFn) (*GetLabelNoExplodeObjectResponse, error)
- func (c *ClientWithResponses) GetMatrixExplodeArrayWithResponse(ctx context.Context, id []int32, reqEditors ...RequestEditorFn) (*GetMatrixExplodeArrayResponse, error)
- func (c *ClientWithResponses) GetMatrixExplodeObjectWithResponse(ctx context.Context, id Object, reqEditors ...RequestEditorFn) (*GetMatrixExplodeObjectResponse, error)
- func (c *ClientWithResponses) GetMatrixNoExplodeArrayWithResponse(ctx context.Context, id []int32, reqEditors ...RequestEditorFn) (*GetMatrixNoExplodeArrayResponse, error)
- func (c *ClientWithResponses) GetMatrixNoExplodeObjectWithResponse(ctx context.Context, id Object, reqEditors ...RequestEditorFn) (*GetMatrixNoExplodeObjectResponse, error)
- func (c *ClientWithResponses) GetPassThroughWithResponse(ctx context.Context, param string, reqEditors ...RequestEditorFn) (*GetPassThroughResponse, error)
- func (c *ClientWithResponses) GetQueryFormWithResponse(ctx context.Context, params *GetQueryFormParams, reqEditors ...RequestEditorFn) (*GetQueryFormResponse, error)
- func (c *ClientWithResponses) GetSimpleExplodeArrayWithResponse(ctx context.Context, param []int32, reqEditors ...RequestEditorFn) (*GetSimpleExplodeArrayResponse, error)
- func (c *ClientWithResponses) GetSimpleExplodeObjectWithResponse(ctx context.Context, param Object, reqEditors ...RequestEditorFn) (*GetSimpleExplodeObjectResponse, error)
- func (c *ClientWithResponses) GetSimpleNoExplodeArrayWithResponse(ctx context.Context, param []int32, reqEditors ...RequestEditorFn) (*GetSimpleNoExplodeArrayResponse, error)
- func (c *ClientWithResponses) GetSimpleNoExplodeObjectWithResponse(ctx context.Context, param Object, reqEditors ...RequestEditorFn) (*GetSimpleNoExplodeObjectResponse, error)
- func (c *ClientWithResponses) GetSimplePrimitiveWithResponse(ctx context.Context, param int32, reqEditors ...RequestEditorFn) (*GetSimplePrimitiveResponse, error)
- func (c *ClientWithResponses) GetStartingWithNumberWithResponse(ctx context.Context, n1param string, reqEditors ...RequestEditorFn) (*GetStartingWithNumberResponse, error)
- type ClientWithResponsesInterface
- type ComplexObject
- type EchoRouter
- type EnumParamsParams
- type EnumParamsParamsEnumPathParam
- type EnumParamsResponse
- type GetContentObjectResponse
- type GetCookieParams
- type GetCookieResponse
- type GetDeepObjectParams
- type GetDeepObjectResponse
- type GetHeaderParams
- type GetHeaderResponse
- type GetLabelExplodeArrayResponse
- type GetLabelExplodeObjectResponse
- type GetLabelNoExplodeArrayResponse
- type GetLabelNoExplodeObjectResponse
- type GetMatrixExplodeArrayResponse
- type GetMatrixExplodeObjectResponse
- type GetMatrixNoExplodeArrayResponse
- type GetMatrixNoExplodeObjectResponse
- type GetPassThroughResponse
- type GetQueryFormParams
- type GetQueryFormResponse
- type GetSimpleExplodeArrayResponse
- type GetSimpleExplodeObjectResponse
- type GetSimpleNoExplodeArrayResponse
- type GetSimpleNoExplodeObjectResponse
- type GetSimplePrimitiveResponse
- type GetStartingWithNumberResponse
- type HttpRequestDoer
- type Object
- type RequestEditorFn
- type ServerInterface
- type ServerInterfaceWrapper
- func (w *ServerInterfaceWrapper) EnumParams(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetContentObject(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetCookie(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetDeepObject(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
- func (w *ServerInterfaceWrapper) GetStartingWithNumber(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. The external references of Swagger specification are resolved. The logic of resolving external references is tightly connected to "import-mapping" feature. Externally referenced files must be embedded in the corresponding golang packages. Urls can be supported but this task was out of the scope.
func NewEnumParamsRequest ¶ added in v1.12.0
func NewEnumParamsRequest(server string, params *EnumParamsParams) (*http.Request, error)
NewEnumParamsRequest generates requests for EnumParams
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 NewGetDeepObjectRequest ¶ added in v1.3.6
func NewGetDeepObjectRequest(server string, params *GetDeepObjectParams) (*http.Request, error)
NewGetDeepObjectRequest generates requests for GetDeepObject
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 NewGetStartingWithNumberRequest ¶ added in v1.8.2
NewGetStartingWithNumberRequest generates requests for GetStartingWithNumber
func PathToRawSpec ¶ added in v1.6.1
Constructs a synthetic filesystem for resolving external references when loading openapi specifications.
func RegisterHandlers ¶
func RegisterHandlers(router EchoRouter, si ServerInterface)
RegisterHandlers adds each server route to the EchoRouter.
func RegisterHandlersWithBaseURL ¶ added in v1.4.0
func RegisterHandlersWithBaseURL(router EchoRouter, si ServerInterface, baseURL string)
Registers handlers, and prepends BaseURL to the paths, so that the paths can be served under a prefix.
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. This can contain a path relative // to the server, such as https://api.deepmap.com/dev-test, and all the // paths in the swagger spec will be appended to the server. Server string // Doer for performing requests, typically a *http.Client with any // customized settings, such as certificate chains. Client HttpRequestDoer // A list of callbacks for modifying requests which are generated before sending over // the network. RequestEditors []RequestEditorFn }
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶ added in v1.3.1
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) EnumParams ¶ added in v1.12.0
func (c *Client) EnumParams(ctx context.Context, params *EnumParamsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetContentObject ¶ added in v1.1.0
func (c *Client) GetContentObject(ctx context.Context, param ComplexObject, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetCookie ¶ added in v1.1.0
func (c *Client) GetCookie(ctx context.Context, params *GetCookieParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetDeepObject ¶ added in v1.3.6
func (c *Client) GetDeepObject(ctx context.Context, params *GetDeepObjectParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetHeader ¶ added in v1.1.0
func (c *Client) GetHeader(ctx context.Context, params *GetHeaderParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetLabelExplodeArray ¶ added in v1.1.0
func (*Client) GetLabelExplodeObject ¶ added in v1.1.0
func (*Client) GetLabelNoExplodeArray ¶ added in v1.1.0
func (*Client) GetLabelNoExplodeObject ¶ added in v1.1.0
func (*Client) GetMatrixExplodeArray ¶ added in v1.1.0
func (*Client) GetMatrixExplodeObject ¶ added in v1.1.0
func (*Client) GetMatrixNoExplodeArray ¶ added in v1.1.0
func (*Client) GetMatrixNoExplodeObject ¶ added in v1.1.0
func (*Client) GetPassThrough ¶ added in v1.1.0
func (*Client) GetQueryForm ¶ added in v1.1.0
func (c *Client) GetQueryForm(ctx context.Context, params *GetQueryFormParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetSimpleExplodeArray ¶ added in v1.1.0
func (*Client) GetSimpleExplodeObject ¶ added in v1.1.0
func (*Client) GetSimpleNoExplodeArray ¶ added in v1.1.0
func (*Client) GetSimpleNoExplodeObject ¶ added in v1.1.0
func (*Client) GetSimplePrimitive ¶ added in v1.1.0
func (*Client) GetStartingWithNumber ¶ added in v1.8.2
type ClientInterface ¶ added in v1.1.5
type ClientInterface interface { // GetContentObject request GetContentObject(ctx context.Context, param ComplexObject, reqEditors ...RequestEditorFn) (*http.Response, error) // GetCookie request GetCookie(ctx context.Context, params *GetCookieParams, reqEditors ...RequestEditorFn) (*http.Response, error) // EnumParams request EnumParams(ctx context.Context, params *EnumParamsParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetHeader request GetHeader(ctx context.Context, params *GetHeaderParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetLabelExplodeArray request GetLabelExplodeArray(ctx context.Context, param []int32, reqEditors ...RequestEditorFn) (*http.Response, error) // GetLabelExplodeObject request GetLabelExplodeObject(ctx context.Context, param Object, reqEditors ...RequestEditorFn) (*http.Response, error) // GetLabelNoExplodeArray request GetLabelNoExplodeArray(ctx context.Context, param []int32, reqEditors ...RequestEditorFn) (*http.Response, error) // GetLabelNoExplodeObject request GetLabelNoExplodeObject(ctx context.Context, param Object, reqEditors ...RequestEditorFn) (*http.Response, error) // GetMatrixExplodeArray request GetMatrixExplodeArray(ctx context.Context, id []int32, reqEditors ...RequestEditorFn) (*http.Response, error) // GetMatrixExplodeObject request GetMatrixExplodeObject(ctx context.Context, id Object, reqEditors ...RequestEditorFn) (*http.Response, error) // GetMatrixNoExplodeArray request GetMatrixNoExplodeArray(ctx context.Context, id []int32, reqEditors ...RequestEditorFn) (*http.Response, error) // GetMatrixNoExplodeObject request GetMatrixNoExplodeObject(ctx context.Context, id Object, reqEditors ...RequestEditorFn) (*http.Response, error) // GetPassThrough request GetPassThrough(ctx context.Context, param string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetDeepObject request GetDeepObject(ctx context.Context, params *GetDeepObjectParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetQueryForm request GetQueryForm(ctx context.Context, params *GetQueryFormParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSimpleExplodeArray request GetSimpleExplodeArray(ctx context.Context, param []int32, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSimpleExplodeObject request GetSimpleExplodeObject(ctx context.Context, param Object, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSimpleNoExplodeArray request GetSimpleNoExplodeArray(ctx context.Context, param []int32, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSimpleNoExplodeObject request GetSimpleNoExplodeObject(ctx context.Context, param Object, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSimplePrimitive request GetSimplePrimitive(ctx context.Context, param int32, reqEditors ...RequestEditorFn) (*http.Response, error) // GetStartingWithNumber request GetStartingWithNumber(ctx context.Context, n1param string, reqEditors ...RequestEditorFn) (*http.Response, error) }
The interface specification for the client above.
type ClientOption ¶ added in v1.3.1
ClientOption allows setting custom parameters during construction
func WithBaseURL ¶ added in v1.3.1
func WithBaseURL(baseURL string) ClientOption
WithBaseURL overrides the baseURL.
func WithHTTPClient ¶ added in v1.3.1
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶ added in v1.3.1
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶ added in v1.1.6
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶ added in v1.1.6
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) EnumParamsWithResponse ¶ added in v1.12.0
func (c *ClientWithResponses) EnumParamsWithResponse(ctx context.Context, params *EnumParamsParams, reqEditors ...RequestEditorFn) (*EnumParamsResponse, error)
EnumParamsWithResponse request returning *EnumParamsResponse
func (*ClientWithResponses) GetContentObjectWithResponse ¶ added in v1.1.6
func (c *ClientWithResponses) GetContentObjectWithResponse(ctx context.Context, param ComplexObject, reqEditors ...RequestEditorFn) (*GetContentObjectResponse, error)
GetContentObjectWithResponse request returning *GetContentObjectResponse
func (*ClientWithResponses) GetCookieWithResponse ¶ added in v1.1.6
func (c *ClientWithResponses) GetCookieWithResponse(ctx context.Context, params *GetCookieParams, reqEditors ...RequestEditorFn) (*GetCookieResponse, error)
GetCookieWithResponse request returning *GetCookieResponse
func (*ClientWithResponses) GetDeepObjectWithResponse ¶ added in v1.3.6
func (c *ClientWithResponses) GetDeepObjectWithResponse(ctx context.Context, params *GetDeepObjectParams, reqEditors ...RequestEditorFn) (*GetDeepObjectResponse, error)
GetDeepObjectWithResponse request returning *GetDeepObjectResponse
func (*ClientWithResponses) GetHeaderWithResponse ¶ added in v1.1.6
func (c *ClientWithResponses) GetHeaderWithResponse(ctx context.Context, params *GetHeaderParams, reqEditors ...RequestEditorFn) (*GetHeaderResponse, error)
GetHeaderWithResponse request returning *GetHeaderResponse
func (*ClientWithResponses) GetLabelExplodeArrayWithResponse ¶ added in v1.1.6
func (c *ClientWithResponses) GetLabelExplodeArrayWithResponse(ctx context.Context, param []int32, reqEditors ...RequestEditorFn) (*GetLabelExplodeArrayResponse, error)
GetLabelExplodeArrayWithResponse request returning *GetLabelExplodeArrayResponse
func (*ClientWithResponses) GetLabelExplodeObjectWithResponse ¶ added in v1.1.6
func (c *ClientWithResponses) GetLabelExplodeObjectWithResponse(ctx context.Context, param Object, reqEditors ...RequestEditorFn) (*GetLabelExplodeObjectResponse, error)
GetLabelExplodeObjectWithResponse request returning *GetLabelExplodeObjectResponse
func (*ClientWithResponses) GetLabelNoExplodeArrayWithResponse ¶ added in v1.1.6
func (c *ClientWithResponses) GetLabelNoExplodeArrayWithResponse(ctx context.Context, param []int32, reqEditors ...RequestEditorFn) (*GetLabelNoExplodeArrayResponse, error)
GetLabelNoExplodeArrayWithResponse request returning *GetLabelNoExplodeArrayResponse
func (*ClientWithResponses) GetLabelNoExplodeObjectWithResponse ¶ added in v1.1.6
func (c *ClientWithResponses) GetLabelNoExplodeObjectWithResponse(ctx context.Context, param Object, reqEditors ...RequestEditorFn) (*GetLabelNoExplodeObjectResponse, error)
GetLabelNoExplodeObjectWithResponse request returning *GetLabelNoExplodeObjectResponse
func (*ClientWithResponses) GetMatrixExplodeArrayWithResponse ¶ added in v1.1.6
func (c *ClientWithResponses) GetMatrixExplodeArrayWithResponse(ctx context.Context, id []int32, reqEditors ...RequestEditorFn) (*GetMatrixExplodeArrayResponse, error)
GetMatrixExplodeArrayWithResponse request returning *GetMatrixExplodeArrayResponse
func (*ClientWithResponses) GetMatrixExplodeObjectWithResponse ¶ added in v1.1.6
func (c *ClientWithResponses) GetMatrixExplodeObjectWithResponse(ctx context.Context, id Object, reqEditors ...RequestEditorFn) (*GetMatrixExplodeObjectResponse, error)
GetMatrixExplodeObjectWithResponse request returning *GetMatrixExplodeObjectResponse
func (*ClientWithResponses) GetMatrixNoExplodeArrayWithResponse ¶ added in v1.1.6
func (c *ClientWithResponses) GetMatrixNoExplodeArrayWithResponse(ctx context.Context, id []int32, reqEditors ...RequestEditorFn) (*GetMatrixNoExplodeArrayResponse, error)
GetMatrixNoExplodeArrayWithResponse request returning *GetMatrixNoExplodeArrayResponse
func (*ClientWithResponses) GetMatrixNoExplodeObjectWithResponse ¶ added in v1.1.6
func (c *ClientWithResponses) GetMatrixNoExplodeObjectWithResponse(ctx context.Context, id Object, reqEditors ...RequestEditorFn) (*GetMatrixNoExplodeObjectResponse, error)
GetMatrixNoExplodeObjectWithResponse request returning *GetMatrixNoExplodeObjectResponse
func (*ClientWithResponses) GetPassThroughWithResponse ¶ added in v1.1.6
func (c *ClientWithResponses) GetPassThroughWithResponse(ctx context.Context, param string, reqEditors ...RequestEditorFn) (*GetPassThroughResponse, error)
GetPassThroughWithResponse request returning *GetPassThroughResponse
func (*ClientWithResponses) GetQueryFormWithResponse ¶ added in v1.1.6
func (c *ClientWithResponses) GetQueryFormWithResponse(ctx context.Context, params *GetQueryFormParams, reqEditors ...RequestEditorFn) (*GetQueryFormResponse, error)
GetQueryFormWithResponse request returning *GetQueryFormResponse
func (*ClientWithResponses) GetSimpleExplodeArrayWithResponse ¶ added in v1.1.6
func (c *ClientWithResponses) GetSimpleExplodeArrayWithResponse(ctx context.Context, param []int32, reqEditors ...RequestEditorFn) (*GetSimpleExplodeArrayResponse, error)
GetSimpleExplodeArrayWithResponse request returning *GetSimpleExplodeArrayResponse
func (*ClientWithResponses) GetSimpleExplodeObjectWithResponse ¶ added in v1.1.6
func (c *ClientWithResponses) GetSimpleExplodeObjectWithResponse(ctx context.Context, param Object, reqEditors ...RequestEditorFn) (*GetSimpleExplodeObjectResponse, error)
GetSimpleExplodeObjectWithResponse request returning *GetSimpleExplodeObjectResponse
func (*ClientWithResponses) GetSimpleNoExplodeArrayWithResponse ¶ added in v1.1.6
func (c *ClientWithResponses) GetSimpleNoExplodeArrayWithResponse(ctx context.Context, param []int32, reqEditors ...RequestEditorFn) (*GetSimpleNoExplodeArrayResponse, error)
GetSimpleNoExplodeArrayWithResponse request returning *GetSimpleNoExplodeArrayResponse
func (*ClientWithResponses) GetSimpleNoExplodeObjectWithResponse ¶ added in v1.1.6
func (c *ClientWithResponses) GetSimpleNoExplodeObjectWithResponse(ctx context.Context, param Object, reqEditors ...RequestEditorFn) (*GetSimpleNoExplodeObjectResponse, error)
GetSimpleNoExplodeObjectWithResponse request returning *GetSimpleNoExplodeObjectResponse
func (*ClientWithResponses) GetSimplePrimitiveWithResponse ¶ added in v1.1.6
func (c *ClientWithResponses) GetSimplePrimitiveWithResponse(ctx context.Context, param int32, reqEditors ...RequestEditorFn) (*GetSimplePrimitiveResponse, error)
GetSimplePrimitiveWithResponse request returning *GetSimplePrimitiveResponse
func (*ClientWithResponses) GetStartingWithNumberWithResponse ¶ added in v1.8.2
func (c *ClientWithResponses) GetStartingWithNumberWithResponse(ctx context.Context, n1param string, reqEditors ...RequestEditorFn) (*GetStartingWithNumberResponse, error)
GetStartingWithNumberWithResponse request returning *GetStartingWithNumberResponse
type ClientWithResponsesInterface ¶ added in v1.3.8
type ClientWithResponsesInterface interface { // GetContentObject request GetContentObjectWithResponse(ctx context.Context, param ComplexObject, reqEditors ...RequestEditorFn) (*GetContentObjectResponse, error) // GetCookie request GetCookieWithResponse(ctx context.Context, params *GetCookieParams, reqEditors ...RequestEditorFn) (*GetCookieResponse, error) // EnumParams request EnumParamsWithResponse(ctx context.Context, params *EnumParamsParams, reqEditors ...RequestEditorFn) (*EnumParamsResponse, error) // GetHeader request GetHeaderWithResponse(ctx context.Context, params *GetHeaderParams, reqEditors ...RequestEditorFn) (*GetHeaderResponse, error) // GetLabelExplodeArray request GetLabelExplodeArrayWithResponse(ctx context.Context, param []int32, reqEditors ...RequestEditorFn) (*GetLabelExplodeArrayResponse, error) // GetLabelExplodeObject request GetLabelExplodeObjectWithResponse(ctx context.Context, param Object, reqEditors ...RequestEditorFn) (*GetLabelExplodeObjectResponse, error) // GetLabelNoExplodeArray request GetLabelNoExplodeArrayWithResponse(ctx context.Context, param []int32, reqEditors ...RequestEditorFn) (*GetLabelNoExplodeArrayResponse, error) // GetLabelNoExplodeObject request GetLabelNoExplodeObjectWithResponse(ctx context.Context, param Object, reqEditors ...RequestEditorFn) (*GetLabelNoExplodeObjectResponse, error) // GetMatrixExplodeArray request GetMatrixExplodeArrayWithResponse(ctx context.Context, id []int32, reqEditors ...RequestEditorFn) (*GetMatrixExplodeArrayResponse, error) // GetMatrixExplodeObject request GetMatrixExplodeObjectWithResponse(ctx context.Context, id Object, reqEditors ...RequestEditorFn) (*GetMatrixExplodeObjectResponse, error) // GetMatrixNoExplodeArray request GetMatrixNoExplodeArrayWithResponse(ctx context.Context, id []int32, reqEditors ...RequestEditorFn) (*GetMatrixNoExplodeArrayResponse, error) // GetMatrixNoExplodeObject request GetMatrixNoExplodeObjectWithResponse(ctx context.Context, id Object, reqEditors ...RequestEditorFn) (*GetMatrixNoExplodeObjectResponse, error) // GetPassThrough request GetPassThroughWithResponse(ctx context.Context, param string, reqEditors ...RequestEditorFn) (*GetPassThroughResponse, error) // GetDeepObject request GetDeepObjectWithResponse(ctx context.Context, params *GetDeepObjectParams, reqEditors ...RequestEditorFn) (*GetDeepObjectResponse, error) // GetQueryForm request GetQueryFormWithResponse(ctx context.Context, params *GetQueryFormParams, reqEditors ...RequestEditorFn) (*GetQueryFormResponse, error) // GetSimpleExplodeArray request GetSimpleExplodeArrayWithResponse(ctx context.Context, param []int32, reqEditors ...RequestEditorFn) (*GetSimpleExplodeArrayResponse, error) // GetSimpleExplodeObject request GetSimpleExplodeObjectWithResponse(ctx context.Context, param Object, reqEditors ...RequestEditorFn) (*GetSimpleExplodeObjectResponse, error) // GetSimpleNoExplodeArray request GetSimpleNoExplodeArrayWithResponse(ctx context.Context, param []int32, reqEditors ...RequestEditorFn) (*GetSimpleNoExplodeArrayResponse, error) // GetSimpleNoExplodeObject request GetSimpleNoExplodeObjectWithResponse(ctx context.Context, param Object, reqEditors ...RequestEditorFn) (*GetSimpleNoExplodeObjectResponse, error) // GetSimplePrimitive request GetSimplePrimitiveWithResponse(ctx context.Context, param int32, reqEditors ...RequestEditorFn) (*GetSimplePrimitiveResponse, error) // GetStartingWithNumber request GetStartingWithNumberWithResponse(ctx context.Context, n1param string, reqEditors ...RequestEditorFn) (*GetStartingWithNumberResponse, error) }
ClientWithResponsesInterface is the interface specification for the client with responses above.
type ComplexObject ¶
type ComplexObject struct { Id int `json:"Id"` IsAdmin bool `json:"IsAdmin"` Object Object `json:"Object"` }
ComplexObject defines model for ComplexObject.
type EchoRouter ¶ added in v1.3.7
type EchoRouter 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 }
This is a simple interface which specifies echo.Route addition functions which are present on both echo.Echo and echo.Group, since we want to allow using either of them for path registration
type EnumParamsParams ¶ added in v1.12.0
type EnumParamsParams struct { // EnumPathParam Parameter with enum values EnumPathParam *EnumParamsParamsEnumPathParam `form:"enumPathParam,omitempty" json:"enumPathParam,omitempty"` }
EnumParamsParams defines parameters for EnumParams.
type EnumParamsParamsEnumPathParam ¶ added in v1.12.0
type EnumParamsParamsEnumPathParam int32
EnumParamsParamsEnumPathParam defines parameters for EnumParams.
const ( N100 EnumParamsParamsEnumPathParam = 100 N200 EnumParamsParamsEnumPathParam = 200 )
Defines values for EnumParamsParamsEnumPathParam.
type EnumParamsResponse ¶ added in v1.12.0
func ParseEnumParamsResponse ¶ added in v1.12.0
func ParseEnumParamsResponse(rsp *http.Response) (*EnumParamsResponse, error)
ParseEnumParamsResponse parses an HTTP response from a EnumParamsWithResponse call
func (EnumParamsResponse) Status ¶ added in v1.12.0
func (r EnumParamsResponse) Status() string
Status returns HTTPResponse.Status
func (EnumParamsResponse) StatusCode ¶ added in v1.12.0
func (r EnumParamsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetContentObjectResponse ¶ added in v1.3.8
func ParseGetContentObjectResponse ¶ added in v1.3.4
func ParseGetContentObjectResponse(rsp *http.Response) (*GetContentObjectResponse, error)
ParseGetContentObjectResponse parses an HTTP response from a GetContentObjectWithResponse call
func (GetContentObjectResponse) Status ¶ added in v1.3.8
func (r GetContentObjectResponse) Status() string
Status returns HTTPResponse.Status
func (GetContentObjectResponse) StatusCode ¶ added in v1.3.8
func (r GetContentObjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCookieParams ¶ added in v1.1.0
type GetCookieParams struct { // P primitive P *int32 `form:"p,omitempty" json:"p,omitempty"` // Ep primitive Ep *int32 `form:"ep,omitempty" json:"ep,omitempty"` // Ea exploded array Ea *[]int32 `form:"ea,omitempty" json:"ea,omitempty"` // A array A *[]int32 `form:"a,omitempty" json:"a,omitempty"` // Eo exploded object Eo *Object `form:"eo,omitempty" json:"eo,omitempty"` // O object O *Object `form:"o,omitempty" json:"o,omitempty"` // Co complex object Co *ComplexObject `form:"co,omitempty" json:"co,omitempty"` // N1s name starting with number N1s *string `form:"1s,omitempty" json:"1s,omitempty"` }
GetCookieParams defines parameters for GetCookie.
type GetCookieResponse ¶ added in v1.3.8
func ParseGetCookieResponse ¶ added in v1.3.4
func ParseGetCookieResponse(rsp *http.Response) (*GetCookieResponse, error)
ParseGetCookieResponse parses an HTTP response from a GetCookieWithResponse call
func (GetCookieResponse) Status ¶ added in v1.3.8
func (r GetCookieResponse) Status() string
Status returns HTTPResponse.Status
func (GetCookieResponse) StatusCode ¶ added in v1.3.8
func (r GetCookieResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDeepObjectParams ¶ added in v1.3.6
type GetDeepObjectParams struct { // DeepObj deep object DeepObj ComplexObject `json:"deepObj"` }
GetDeepObjectParams defines parameters for GetDeepObject.
type GetDeepObjectResponse ¶ added in v1.3.8
func ParseGetDeepObjectResponse ¶ added in v1.3.6
func ParseGetDeepObjectResponse(rsp *http.Response) (*GetDeepObjectResponse, error)
ParseGetDeepObjectResponse parses an HTTP response from a GetDeepObjectWithResponse call
func (GetDeepObjectResponse) Status ¶ added in v1.3.8
func (r GetDeepObjectResponse) Status() string
Status returns HTTPResponse.Status
func (GetDeepObjectResponse) StatusCode ¶ added in v1.3.8
func (r GetDeepObjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetHeaderParams ¶
type GetHeaderParams struct { // XPrimitive primitive XPrimitive *int32 `json:"X-Primitive,omitempty"` // XPrimitiveExploded primitive XPrimitiveExploded *int32 `json:"X-Primitive-Exploded,omitempty"` // XArrayExploded exploded array XArrayExploded *[]int32 `json:"X-Array-Exploded,omitempty"` // XArray array XArray *[]int32 `json:"X-Array,omitempty"` // XObjectExploded exploded object XObjectExploded *Object `json:"X-Object-Exploded,omitempty"` // XObject object XObject *Object `json:"X-Object,omitempty"` // XComplexObject complex object XComplexObject *ComplexObject `json:"X-Complex-Object,omitempty"` // N1StartingWithNumber name starting with number N1StartingWithNumber *string `json:"1-Starting-With-Number,omitempty"` }
GetHeaderParams defines parameters for GetHeader.
type GetHeaderResponse ¶ added in v1.3.8
func ParseGetHeaderResponse ¶ added in v1.3.4
func ParseGetHeaderResponse(rsp *http.Response) (*GetHeaderResponse, error)
ParseGetHeaderResponse parses an HTTP response from a GetHeaderWithResponse call
func (GetHeaderResponse) Status ¶ added in v1.3.8
func (r GetHeaderResponse) Status() string
Status returns HTTPResponse.Status
func (GetHeaderResponse) StatusCode ¶ added in v1.3.8
func (r GetHeaderResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetLabelExplodeArrayResponse ¶ added in v1.3.8
func ParseGetLabelExplodeArrayResponse ¶ added in v1.3.4
func ParseGetLabelExplodeArrayResponse(rsp *http.Response) (*GetLabelExplodeArrayResponse, error)
ParseGetLabelExplodeArrayResponse parses an HTTP response from a GetLabelExplodeArrayWithResponse call
func (GetLabelExplodeArrayResponse) Status ¶ added in v1.3.8
func (r GetLabelExplodeArrayResponse) Status() string
Status returns HTTPResponse.Status
func (GetLabelExplodeArrayResponse) StatusCode ¶ added in v1.3.8
func (r GetLabelExplodeArrayResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetLabelExplodeObjectResponse ¶ added in v1.3.8
func ParseGetLabelExplodeObjectResponse ¶ added in v1.3.4
func ParseGetLabelExplodeObjectResponse(rsp *http.Response) (*GetLabelExplodeObjectResponse, error)
ParseGetLabelExplodeObjectResponse parses an HTTP response from a GetLabelExplodeObjectWithResponse call
func (GetLabelExplodeObjectResponse) Status ¶ added in v1.3.8
func (r GetLabelExplodeObjectResponse) Status() string
Status returns HTTPResponse.Status
func (GetLabelExplodeObjectResponse) StatusCode ¶ added in v1.3.8
func (r GetLabelExplodeObjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetLabelNoExplodeArrayResponse ¶ added in v1.3.8
func ParseGetLabelNoExplodeArrayResponse ¶ added in v1.3.4
func ParseGetLabelNoExplodeArrayResponse(rsp *http.Response) (*GetLabelNoExplodeArrayResponse, error)
ParseGetLabelNoExplodeArrayResponse parses an HTTP response from a GetLabelNoExplodeArrayWithResponse call
func (GetLabelNoExplodeArrayResponse) Status ¶ added in v1.3.8
func (r GetLabelNoExplodeArrayResponse) Status() string
Status returns HTTPResponse.Status
func (GetLabelNoExplodeArrayResponse) StatusCode ¶ added in v1.3.8
func (r GetLabelNoExplodeArrayResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetLabelNoExplodeObjectResponse ¶ added in v1.3.8
func ParseGetLabelNoExplodeObjectResponse ¶ added in v1.3.4
func ParseGetLabelNoExplodeObjectResponse(rsp *http.Response) (*GetLabelNoExplodeObjectResponse, error)
ParseGetLabelNoExplodeObjectResponse parses an HTTP response from a GetLabelNoExplodeObjectWithResponse call
func (GetLabelNoExplodeObjectResponse) Status ¶ added in v1.3.8
func (r GetLabelNoExplodeObjectResponse) Status() string
Status returns HTTPResponse.Status
func (GetLabelNoExplodeObjectResponse) StatusCode ¶ added in v1.3.8
func (r GetLabelNoExplodeObjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMatrixExplodeArrayResponse ¶ added in v1.3.8
func ParseGetMatrixExplodeArrayResponse ¶ added in v1.3.4
func ParseGetMatrixExplodeArrayResponse(rsp *http.Response) (*GetMatrixExplodeArrayResponse, error)
ParseGetMatrixExplodeArrayResponse parses an HTTP response from a GetMatrixExplodeArrayWithResponse call
func (GetMatrixExplodeArrayResponse) Status ¶ added in v1.3.8
func (r GetMatrixExplodeArrayResponse) Status() string
Status returns HTTPResponse.Status
func (GetMatrixExplodeArrayResponse) StatusCode ¶ added in v1.3.8
func (r GetMatrixExplodeArrayResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMatrixExplodeObjectResponse ¶ added in v1.3.8
func ParseGetMatrixExplodeObjectResponse ¶ added in v1.3.4
func ParseGetMatrixExplodeObjectResponse(rsp *http.Response) (*GetMatrixExplodeObjectResponse, error)
ParseGetMatrixExplodeObjectResponse parses an HTTP response from a GetMatrixExplodeObjectWithResponse call
func (GetMatrixExplodeObjectResponse) Status ¶ added in v1.3.8
func (r GetMatrixExplodeObjectResponse) Status() string
Status returns HTTPResponse.Status
func (GetMatrixExplodeObjectResponse) StatusCode ¶ added in v1.3.8
func (r GetMatrixExplodeObjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMatrixNoExplodeArrayResponse ¶ added in v1.3.8
func ParseGetMatrixNoExplodeArrayResponse ¶ added in v1.3.4
func ParseGetMatrixNoExplodeArrayResponse(rsp *http.Response) (*GetMatrixNoExplodeArrayResponse, error)
ParseGetMatrixNoExplodeArrayResponse parses an HTTP response from a GetMatrixNoExplodeArrayWithResponse call
func (GetMatrixNoExplodeArrayResponse) Status ¶ added in v1.3.8
func (r GetMatrixNoExplodeArrayResponse) Status() string
Status returns HTTPResponse.Status
func (GetMatrixNoExplodeArrayResponse) StatusCode ¶ added in v1.3.8
func (r GetMatrixNoExplodeArrayResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMatrixNoExplodeObjectResponse ¶ added in v1.3.8
func ParseGetMatrixNoExplodeObjectResponse ¶ added in v1.3.4
func ParseGetMatrixNoExplodeObjectResponse(rsp *http.Response) (*GetMatrixNoExplodeObjectResponse, error)
ParseGetMatrixNoExplodeObjectResponse parses an HTTP response from a GetMatrixNoExplodeObjectWithResponse call
func (GetMatrixNoExplodeObjectResponse) Status ¶ added in v1.3.8
func (r GetMatrixNoExplodeObjectResponse) Status() string
Status returns HTTPResponse.Status
func (GetMatrixNoExplodeObjectResponse) StatusCode ¶ added in v1.3.8
func (r GetMatrixNoExplodeObjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPassThroughResponse ¶ added in v1.3.8
func ParseGetPassThroughResponse ¶ added in v1.3.4
func ParseGetPassThroughResponse(rsp *http.Response) (*GetPassThroughResponse, error)
ParseGetPassThroughResponse parses an HTTP response from a GetPassThroughWithResponse call
func (GetPassThroughResponse) Status ¶ added in v1.3.8
func (r GetPassThroughResponse) Status() string
Status returns HTTPResponse.Status
func (GetPassThroughResponse) StatusCode ¶ added in v1.3.8
func (r GetPassThroughResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetQueryFormParams ¶
type GetQueryFormParams struct { // Ea exploded array Ea *[]int32 `form:"ea,omitempty" json:"ea,omitempty"` // A array A *[]int32 `form:"a,omitempty" json:"a,omitempty"` // Eo exploded object Eo *Object `form:"eo,omitempty" json:"eo,omitempty"` // O object O *Object `form:"o,omitempty" json:"o,omitempty"` // Ep exploded primitive Ep *int32 `form:"ep,omitempty" json:"ep,omitempty"` // P primitive P *int32 `form:"p,omitempty" json:"p,omitempty"` // Ps primitive string Ps *string `form:"ps,omitempty" json:"ps,omitempty"` // Co complex object Co *ComplexObject `form:"co,omitempty" json:"co,omitempty"` // N1s name starting with number N1s *string `form:"1s,omitempty" json:"1s,omitempty"` }
GetQueryFormParams defines parameters for GetQueryForm.
type GetQueryFormResponse ¶ added in v1.3.8
func ParseGetQueryFormResponse ¶ added in v1.3.4
func ParseGetQueryFormResponse(rsp *http.Response) (*GetQueryFormResponse, error)
ParseGetQueryFormResponse parses an HTTP response from a GetQueryFormWithResponse call
func (GetQueryFormResponse) Status ¶ added in v1.3.8
func (r GetQueryFormResponse) Status() string
Status returns HTTPResponse.Status
func (GetQueryFormResponse) StatusCode ¶ added in v1.3.8
func (r GetQueryFormResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSimpleExplodeArrayResponse ¶ added in v1.3.8
func ParseGetSimpleExplodeArrayResponse ¶ added in v1.3.4
func ParseGetSimpleExplodeArrayResponse(rsp *http.Response) (*GetSimpleExplodeArrayResponse, error)
ParseGetSimpleExplodeArrayResponse parses an HTTP response from a GetSimpleExplodeArrayWithResponse call
func (GetSimpleExplodeArrayResponse) Status ¶ added in v1.3.8
func (r GetSimpleExplodeArrayResponse) Status() string
Status returns HTTPResponse.Status
func (GetSimpleExplodeArrayResponse) StatusCode ¶ added in v1.3.8
func (r GetSimpleExplodeArrayResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSimpleExplodeObjectResponse ¶ added in v1.3.8
func ParseGetSimpleExplodeObjectResponse ¶ added in v1.3.4
func ParseGetSimpleExplodeObjectResponse(rsp *http.Response) (*GetSimpleExplodeObjectResponse, error)
ParseGetSimpleExplodeObjectResponse parses an HTTP response from a GetSimpleExplodeObjectWithResponse call
func (GetSimpleExplodeObjectResponse) Status ¶ added in v1.3.8
func (r GetSimpleExplodeObjectResponse) Status() string
Status returns HTTPResponse.Status
func (GetSimpleExplodeObjectResponse) StatusCode ¶ added in v1.3.8
func (r GetSimpleExplodeObjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSimpleNoExplodeArrayResponse ¶ added in v1.3.8
func ParseGetSimpleNoExplodeArrayResponse ¶ added in v1.3.4
func ParseGetSimpleNoExplodeArrayResponse(rsp *http.Response) (*GetSimpleNoExplodeArrayResponse, error)
ParseGetSimpleNoExplodeArrayResponse parses an HTTP response from a GetSimpleNoExplodeArrayWithResponse call
func (GetSimpleNoExplodeArrayResponse) Status ¶ added in v1.3.8
func (r GetSimpleNoExplodeArrayResponse) Status() string
Status returns HTTPResponse.Status
func (GetSimpleNoExplodeArrayResponse) StatusCode ¶ added in v1.3.8
func (r GetSimpleNoExplodeArrayResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSimpleNoExplodeObjectResponse ¶ added in v1.3.8
func ParseGetSimpleNoExplodeObjectResponse ¶ added in v1.3.4
func ParseGetSimpleNoExplodeObjectResponse(rsp *http.Response) (*GetSimpleNoExplodeObjectResponse, error)
ParseGetSimpleNoExplodeObjectResponse parses an HTTP response from a GetSimpleNoExplodeObjectWithResponse call
func (GetSimpleNoExplodeObjectResponse) Status ¶ added in v1.3.8
func (r GetSimpleNoExplodeObjectResponse) Status() string
Status returns HTTPResponse.Status
func (GetSimpleNoExplodeObjectResponse) StatusCode ¶ added in v1.3.8
func (r GetSimpleNoExplodeObjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSimplePrimitiveResponse ¶ added in v1.3.8
func ParseGetSimplePrimitiveResponse ¶ added in v1.3.4
func ParseGetSimplePrimitiveResponse(rsp *http.Response) (*GetSimplePrimitiveResponse, error)
ParseGetSimplePrimitiveResponse parses an HTTP response from a GetSimplePrimitiveWithResponse call
func (GetSimplePrimitiveResponse) Status ¶ added in v1.3.8
func (r GetSimplePrimitiveResponse) Status() string
Status returns HTTPResponse.Status
func (GetSimplePrimitiveResponse) StatusCode ¶ added in v1.3.8
func (r GetSimplePrimitiveResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetStartingWithNumberResponse ¶ added in v1.8.2
func ParseGetStartingWithNumberResponse ¶ added in v1.8.2
func ParseGetStartingWithNumberResponse(rsp *http.Response) (*GetStartingWithNumberResponse, error)
ParseGetStartingWithNumberResponse parses an HTTP response from a GetStartingWithNumberWithResponse call
func (GetStartingWithNumberResponse) Status ¶ added in v1.8.2
func (r GetStartingWithNumberResponse) Status() string
Status returns HTTPResponse.Status
func (GetStartingWithNumberResponse) StatusCode ¶ added in v1.8.2
func (r GetStartingWithNumberResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶ added in v1.3.2
Doer performs HTTP requests.
The standard http.Client implements this interface.
type RequestEditorFn ¶ added in v1.2.4
RequestEditorFn is the function signature for the RequestEditor callback function
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 /enums) EnumParams(ctx echo.Context, params EnumParamsParams) 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 /queryDeepObject) GetDeepObject(ctx echo.Context, params GetDeepObjectParams) 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 // (GET /startingWithNumber/{1param}) GetStartingWithNumber(ctx echo.Context, n1param string) error }
ServerInterface represents all server handlers.
type ServerInterfaceWrapper ¶
type ServerInterfaceWrapper struct {
Handler ServerInterface
}
ServerInterfaceWrapper converts echo contexts to parameters.
func (*ServerInterfaceWrapper) EnumParams ¶ added in v1.12.0
func (w *ServerInterfaceWrapper) EnumParams(ctx echo.Context) error
EnumParams converts echo context to params.
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) GetDeepObject ¶ added in v1.3.6
func (w *ServerInterfaceWrapper) GetDeepObject(ctx echo.Context) error
GetDeepObject 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.
func (*ServerInterfaceWrapper) GetStartingWithNumber ¶ added in v1.8.2
func (w *ServerInterfaceWrapper) GetStartingWithNumber(ctx echo.Context) error
GetStartingWithNumber converts echo context to params.