Versions in this module Expand all Collapse all v1 v1.3.8 Apr 17, 2020 v1.3.7 Apr 17, 2020 Changes in this version + 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 ParseGetBothResponse(rsp *http.Response) (*getBothResponse, error) + func ParseGetJsonResponse(rsp *http.Response) (*getJsonResponse, error) + func ParseGetJsonWithTrailingSlashResponse(rsp *http.Response) (*getJsonWithTrailingSlashResponse, error) + func ParseGetOtherResponse(rsp *http.Response) (*getOtherResponse, error) + func ParsePostBothResponse(rsp *http.Response) (*postBothResponse, error) + func ParsePostJsonResponse(rsp *http.Response) (*postJsonResponse, error) + func ParsePostOtherResponse(rsp *http.Response) (*postOtherResponse, error) + func RegisterHandlers(router interface{ ... }, si ServerInterface) + type Client struct + Client HttpRequestDoer + RequestEditor RequestEditorFn + Server string + func NewClient(server string, opts ...ClientOption) (*Client, error) + func (c *Client) GetBoth(ctx context.Context) (*http.Response, error) + func (c *Client) GetJson(ctx context.Context) (*http.Response, error) + func (c *Client) GetJsonWithTrailingSlash(ctx context.Context) (*http.Response, error) + func (c *Client) GetOther(ctx context.Context) (*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) (*http.Response, error) + GetJson func(ctx context.Context) (*http.Response, error) + GetJsonWithTrailingSlash func(ctx context.Context) (*http.Response, error) + GetOther func(ctx context.Context) (*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) (*getBothResponse, error) + func (c *ClientWithResponses) GetJsonWithResponse(ctx context.Context) (*getJsonResponse, error) + func (c *ClientWithResponses) GetJsonWithTrailingSlashWithResponse(ctx context.Context) (*getJsonWithTrailingSlashResponse, error) + func (c *ClientWithResponses) GetOtherWithResponse(ctx context.Context) (*getOtherResponse, error) + func (c *ClientWithResponses) PostBothWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*postBothResponse, error) + func (c *ClientWithResponses) PostBothWithResponse(ctx context.Context, body PostBothJSONRequestBody) (*postBothResponse, error) + func (c *ClientWithResponses) PostJsonWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*postJsonResponse, error) + func (c *ClientWithResponses) PostJsonWithResponse(ctx context.Context, body PostJsonJSONRequestBody) (*postJsonResponse, error) + func (c *ClientWithResponses) PostOtherWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*postOtherResponse, error) + type HttpRequestDoer interface + Do func(req *http.Request) (*http.Response, error) + type PostBothJSONBody SchemaObject + type PostBothJSONRequestBody PostBothJSONBody + type PostJsonJSONBody SchemaObject + type PostJsonJSONRequestBody PostJsonJSONBody + type RequestEditorFn func(req *http.Request, ctx context.Context) 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