Versions in this module Expand all Collapse all v1 v1.1.1 Oct 5, 2023 v1.1.0 Oct 5, 2023 Changes in this version + func GetSwagger() (swagger *openapi3.T, err error) + func NewGetFooRequest(server 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 Bar string + const BarBar + const BarEmpty + const BarFoo + const BarFoo1 + const BarFoo2 + const BarFoo3 + const BarFooBar + const BarFooBar1 + const BarN1 + const BarN1Foo + type Client struct + Client HttpRequestDoer + RequestEditors []RequestEditorFn + Server string + func NewClient(server string, opts ...ClientOption) (*Client, error) + func (c *Client) GetFoo(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + type ClientInterface interface + GetFoo func(ctx context.Context, reqEditors ...RequestEditorFn) (*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) GetFooWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetFooResponse, error) + type ClientWithResponsesInterface interface + GetFooWithResponse func(ctx context.Context, reqEditors ...RequestEditorFn) (*GetFooResponse, 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 GetFooResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *[]Bar + func ParseGetFooResponse(rsp *http.Response) (*GetFooResponse, error) + func (r GetFooResponse) Status() string + func (r GetFooResponse) StatusCode() int + type HttpRequestDoer interface + Do func(req *http.Request) (*http.Response, error) + type RequestEditorFn func(ctx context.Context, req *http.Request) error + type ServerInterface interface + GetFoo func(ctx echo.Context) error + type ServerInterfaceWrapper struct + Handler ServerInterface + func (w *ServerInterfaceWrapper) GetFoo(ctx echo.Context) error