Versions in this module Expand all Collapse all v1 v1.6.0 Feb 15, 2021 Changes in this version + const OpenIdScopes + func GetSwagger() (*openapi3.Swagger, error) + func NewGetBothRequest(server string) (*http.Request, error) + func NewGetJsonRequest(server string) (*http.Request, error) + func NewGetJsonWithTrailingSlashRequest(server string) (*http.Request, error) + func NewGetOtherRequest(server string) (*http.Request, error) + func NewPostBothRequest(server string, body PostBothJSONRequestBody) (*http.Request, error) + func NewPostBothRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewPostJsonRequest(server string, body PostJsonJSONRequestBody) (*http.Request, error) + func NewPostJsonRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewPostOtherRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func RegisterHandlers(router EchoRouter, si ServerInterface) + func RegisterHandlersWithBaseURL(router EchoRouter, si ServerInterface, baseURL string) + type Client struct + Client HttpRequestDoer + RequestEditors []RequestEditorFn + Server string + func NewClient(server string, opts ...ClientOption) (*Client, error) + func (c *Client) GetBoth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) GetJson(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) GetJsonWithTrailingSlash(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) GetOther(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) PostBoth(ctx context.Context, body PostBothJSONRequestBody, ...) (*http.Response, error) + func (c *Client) PostBothWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) PostJson(ctx context.Context, body PostJsonJSONRequestBody, ...) (*http.Response, error) + func (c *Client) PostJsonWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) PostOtherWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + type ClientInterface interface + GetBoth func(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + GetJson func(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + GetJsonWithTrailingSlash func(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + GetOther func(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + PostBoth func(ctx context.Context, body PostBothJSONRequestBody, ...) (*http.Response, error) + PostBothWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + PostJson func(ctx context.Context, body PostJsonJSONRequestBody, ...) (*http.Response, error) + PostJsonWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + PostOtherWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + type ClientOption func(*Client) error + func WithBaseURL(baseURL string) ClientOption + func WithHTTPClient(doer HttpRequestDoer) ClientOption + func WithRequestEditorFn(fn RequestEditorFn) ClientOption + type ClientWithResponses struct + func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error) + func (c *ClientWithResponses) GetBothWithResponse(ctx context.Context) (*GetBothClientResponse, error) + func (c *ClientWithResponses) GetJsonWithResponse(ctx context.Context) (*GetJsonClientResponse, error) + func (c *ClientWithResponses) GetJsonWithTrailingSlashWithResponse(ctx context.Context) (*GetJsonWithTrailingSlashClientResponse, error) + func (c *ClientWithResponses) GetOtherWithResponse(ctx context.Context) (*GetOtherClientResponse, error) + func (c *ClientWithResponses) PostBothWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*PostBothClientResponse, error) + func (c *ClientWithResponses) PostBothWithResponse(ctx context.Context, body PostBothJSONRequestBody) (*PostBothClientResponse, error) + func (c *ClientWithResponses) PostJsonWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*PostJsonClientResponse, error) + func (c *ClientWithResponses) PostJsonWithResponse(ctx context.Context, body PostJsonJSONRequestBody) (*PostJsonClientResponse, error) + func (c *ClientWithResponses) PostOtherWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*PostOtherClientResponse, error) + type ClientWithResponsesInterface interface + GetBothWithResponse func(ctx context.Context) (*GetBothClientResponse, error) + GetJsonWithResponse func(ctx context.Context) (*GetJsonClientResponse, error) + GetJsonWithTrailingSlashWithResponse func(ctx context.Context) (*GetJsonWithTrailingSlashClientResponse, error) + GetOtherWithResponse func(ctx context.Context) (*GetOtherClientResponse, error) + PostBothWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader) (*PostBothClientResponse, error) + PostBothWithResponse func(ctx context.Context, body PostBothJSONRequestBody) (*PostBothClientResponse, error) + PostJsonWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader) (*PostJsonClientResponse, error) + PostJsonWithResponse func(ctx context.Context, body PostJsonJSONRequestBody) (*PostJsonClientResponse, error) + PostOtherWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader) (*PostOtherClientResponse, error) + type EchoRouter interface + CONNECT func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + DELETE func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + GET func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + HEAD func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + OPTIONS func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + PATCH func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + POST func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + PUT func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + TRACE func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + type GetBothClientResponse struct + Body []byte + HTTPResponse *http.Response + func ParseGetBothClientResponse(rsp *http.Response) (*GetBothClientResponse, error) + func (r GetBothClientResponse) Status() string + func (r GetBothClientResponse) StatusCode() int + type GetJsonClientResponse struct + Body []byte + HTTPResponse *http.Response + func ParseGetJsonClientResponse(rsp *http.Response) (*GetJsonClientResponse, error) + func (r GetJsonClientResponse) Status() string + func (r GetJsonClientResponse) StatusCode() int + type GetJsonWithTrailingSlashClientResponse struct + Body []byte + HTTPResponse *http.Response + func ParseGetJsonWithTrailingSlashClientResponse(rsp *http.Response) (*GetJsonWithTrailingSlashClientResponse, error) + func (r GetJsonWithTrailingSlashClientResponse) Status() string + func (r GetJsonWithTrailingSlashClientResponse) StatusCode() int + type GetOtherClientResponse struct + Body []byte + HTTPResponse *http.Response + func ParseGetOtherClientResponse(rsp *http.Response) (*GetOtherClientResponse, error) + func (r GetOtherClientResponse) Status() string + func (r GetOtherClientResponse) StatusCode() int + type HttpRequestDoer interface + Do func(req *http.Request) (*http.Response, error) + type PostBothClientResponse struct + Body []byte + HTTPResponse *http.Response + func ParsePostBothClientResponse(rsp *http.Response) (*PostBothClientResponse, error) + func (r PostBothClientResponse) Status() string + func (r PostBothClientResponse) StatusCode() int + type PostBothJSONBody SchemaObject + type PostBothJSONRequestBody PostBothJSONBody + type PostJsonClientResponse struct + Body []byte + HTTPResponse *http.Response + func ParsePostJsonClientResponse(rsp *http.Response) (*PostJsonClientResponse, error) + func (r PostJsonClientResponse) Status() string + func (r PostJsonClientResponse) StatusCode() int + type PostJsonJSONBody SchemaObject + type PostJsonJSONRequestBody PostJsonJSONBody + type PostOtherClientResponse struct + Body []byte + HTTPResponse *http.Response + func ParsePostOtherClientResponse(rsp *http.Response) (*PostOtherClientResponse, error) + func (r PostOtherClientResponse) Status() string + func (r PostOtherClientResponse) StatusCode() int + type RequestEditorFn func(ctx context.Context, req *http.Request) error + type SchemaObject struct + FirstName string + Role string + type ServerInterface interface + GetBoth func(ctx echo.Context) error + GetJson func(ctx echo.Context) error + GetJsonWithTrailingSlash func(ctx echo.Context) error + GetOther func(ctx echo.Context) error + PostBoth func(ctx echo.Context) error + PostJson func(ctx echo.Context) error + PostOther func(ctx echo.Context) error + type ServerInterfaceWrapper struct + Handler ServerInterface + func (w *ServerInterfaceWrapper) GetBoth(ctx echo.Context) error + func (w *ServerInterfaceWrapper) GetJson(ctx echo.Context) error + func (w *ServerInterfaceWrapper) GetJsonWithTrailingSlash(ctx echo.Context) error + func (w *ServerInterfaceWrapper) GetOther(ctx echo.Context) error + func (w *ServerInterfaceWrapper) PostBoth(ctx echo.Context) error + func (w *ServerInterfaceWrapper) PostJson(ctx echo.Context) error + func (w *ServerInterfaceWrapper) PostOther(ctx echo.Context) error