Versions in this module Expand all Collapse all v1 v1.9.3 Apr 16, 2022 Changes in this version + func GetSwagger() (swagger *openapi3.T, err error) + func NewBodyWithAddPropsRequest(server string, body BodyWithAddPropsJSONRequestBody) (*http.Request, error) + func NewBodyWithAddPropsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewEnsureEverythingIsReferencedRequest(server string, body EnsureEverythingIsReferencedJSONRequestBody) (*http.Request, error) + func NewEnsureEverythingIsReferencedRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewParamsWithAddPropsRequest(server string, params *ParamsWithAddPropsParams) (*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 AdditionalPropertiesObject1 struct + AdditionalProperties map[string]int + Id int + Name string + Optional *string + func (a *AdditionalPropertiesObject1) Set(fieldName string, value int) + func (a *AdditionalPropertiesObject1) UnmarshalJSON(b []byte) error + func (a AdditionalPropertiesObject1) Get(fieldName string) (value int, found bool) + func (a AdditionalPropertiesObject1) MarshalJSON() ([]byte, error) + type AdditionalPropertiesObject2 struct + Id int + Name string + type AdditionalPropertiesObject3 struct + AdditionalProperties map[string]interface{} + Name string + func (a *AdditionalPropertiesObject3) Set(fieldName string, value interface{}) + func (a *AdditionalPropertiesObject3) UnmarshalJSON(b []byte) error + func (a AdditionalPropertiesObject3) Get(fieldName string) (value interface{}, found bool) + func (a AdditionalPropertiesObject3) MarshalJSON() ([]byte, error) + type AdditionalPropertiesObject4 struct + AdditionalProperties map[string]interface{} + Inner AdditionalPropertiesObject4_Inner + Name string + func (a *AdditionalPropertiesObject4) Set(fieldName string, value interface{}) + func (a *AdditionalPropertiesObject4) UnmarshalJSON(b []byte) error + func (a AdditionalPropertiesObject4) Get(fieldName string) (value interface{}, found bool) + func (a AdditionalPropertiesObject4) MarshalJSON() ([]byte, error) + type AdditionalPropertiesObject4_Inner struct + AdditionalProperties map[string]interface{} + Name string + func (a *AdditionalPropertiesObject4_Inner) Set(fieldName string, value interface{}) + func (a *AdditionalPropertiesObject4_Inner) UnmarshalJSON(b []byte) error + func (a AdditionalPropertiesObject4_Inner) Get(fieldName string) (value interface{}, found bool) + func (a AdditionalPropertiesObject4_Inner) MarshalJSON() ([]byte, error) + type AdditionalPropertiesObject5 struct + AdditionalProperties map[string]SchemaObject + func (a *AdditionalPropertiesObject5) Set(fieldName string, value SchemaObject) + func (a *AdditionalPropertiesObject5) UnmarshalJSON(b []byte) error + func (a AdditionalPropertiesObject5) Get(fieldName string) (value SchemaObject, found bool) + func (a AdditionalPropertiesObject5) MarshalJSON() ([]byte, error) + type BodyWithAddPropsJSONBody struct + AdditionalProperties map[string]interface{} + Inner BodyWithAddPropsJSONBody_Inner + Name string + func (a *BodyWithAddPropsJSONBody) Set(fieldName string, value interface{}) + func (a *BodyWithAddPropsJSONBody) UnmarshalJSON(b []byte) error + func (a BodyWithAddPropsJSONBody) Get(fieldName string) (value interface{}, found bool) + func (a BodyWithAddPropsJSONBody) MarshalJSON() ([]byte, error) + type BodyWithAddPropsJSONBody_Inner struct + AdditionalProperties map[string]int + func (a *BodyWithAddPropsJSONBody_Inner) Set(fieldName string, value int) + func (a *BodyWithAddPropsJSONBody_Inner) UnmarshalJSON(b []byte) error + func (a BodyWithAddPropsJSONBody_Inner) Get(fieldName string) (value int, found bool) + func (a BodyWithAddPropsJSONBody_Inner) MarshalJSON() ([]byte, error) + type BodyWithAddPropsJSONRequestBody BodyWithAddPropsJSONBody + type BodyWithAddPropsResponse struct + Body []byte + HTTPResponse *http.Response + func ParseBodyWithAddPropsResponse(rsp *http.Response) (*BodyWithAddPropsResponse, error) + func (r BodyWithAddPropsResponse) Status() string + func (r BodyWithAddPropsResponse) StatusCode() int + type Client struct + Client HttpRequestDoer + RequestEditors []RequestEditorFn + Server string + func NewClient(server string, opts ...ClientOption) (*Client, error) + func (c *Client) BodyWithAddProps(ctx context.Context, body BodyWithAddPropsJSONRequestBody, ...) (*http.Response, error) + func (c *Client) BodyWithAddPropsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) EnsureEverythingIsReferenced(ctx context.Context, body EnsureEverythingIsReferencedJSONRequestBody, ...) (*http.Response, error) + func (c *Client) EnsureEverythingIsReferencedWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) ParamsWithAddProps(ctx context.Context, params *ParamsWithAddPropsParams, ...) (*http.Response, error) + type ClientInterface interface + BodyWithAddProps func(ctx context.Context, body BodyWithAddPropsJSONRequestBody, ...) (*http.Response, error) + BodyWithAddPropsWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + EnsureEverythingIsReferenced func(ctx context.Context, body EnsureEverythingIsReferencedJSONRequestBody, ...) (*http.Response, error) + EnsureEverythingIsReferencedWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + ParamsWithAddProps func(ctx context.Context, params *ParamsWithAddPropsParams, ...) (*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) BodyWithAddPropsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*BodyWithAddPropsResponse, error) + func (c *ClientWithResponses) BodyWithAddPropsWithResponse(ctx context.Context, body BodyWithAddPropsJSONRequestBody, ...) (*BodyWithAddPropsResponse, error) + func (c *ClientWithResponses) EnsureEverythingIsReferencedWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*EnsureEverythingIsReferencedResponse, error) + func (c *ClientWithResponses) EnsureEverythingIsReferencedWithResponse(ctx context.Context, body EnsureEverythingIsReferencedJSONRequestBody, ...) (*EnsureEverythingIsReferencedResponse, error) + func (c *ClientWithResponses) ParamsWithAddPropsWithResponse(ctx context.Context, params *ParamsWithAddPropsParams, ...) (*ParamsWithAddPropsResponse, error) + type ClientWithResponsesInterface interface + BodyWithAddPropsWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*BodyWithAddPropsResponse, error) + BodyWithAddPropsWithResponse func(ctx context.Context, body BodyWithAddPropsJSONRequestBody, ...) (*BodyWithAddPropsResponse, error) + EnsureEverythingIsReferencedWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*EnsureEverythingIsReferencedResponse, error) + EnsureEverythingIsReferencedWithResponse func(ctx context.Context, body EnsureEverythingIsReferencedJSONRequestBody, ...) (*EnsureEverythingIsReferencedResponse, error) + ParamsWithAddPropsWithResponse func(ctx context.Context, params *ParamsWithAddPropsParams, ...) (*ParamsWithAddPropsResponse, 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 EnsureEverythingIsReferencedJSONRequestBody RequestBody + type EnsureEverythingIsReferencedResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 ... + JSONDefault ... + func ParseEnsureEverythingIsReferencedResponse(rsp *http.Response) (*EnsureEverythingIsReferencedResponse, error) + func (r EnsureEverythingIsReferencedResponse) Status() string + func (r EnsureEverythingIsReferencedResponse) StatusCode() int + type HttpRequestDoer interface + Do func(req *http.Request) (*http.Response, error) + type ObjectWithJsonField struct + Name string + Value1 json.RawMessage + Value2 json.RawMessage + type ParamsWithAddPropsParams struct + P1 ParamsWithAddPropsParams_P1 + P2 struct{ ... } + type ParamsWithAddPropsParams_P1 struct + AdditionalProperties map[string]interface{} + func (a *ParamsWithAddPropsParams_P1) Set(fieldName string, value interface{}) + func (a *ParamsWithAddPropsParams_P1) UnmarshalJSON(b []byte) error + func (a ParamsWithAddPropsParams_P1) Get(fieldName string) (value interface{}, found bool) + func (a ParamsWithAddPropsParams_P1) MarshalJSON() ([]byte, error) + type ParamsWithAddPropsParams_P2_Inner struct + AdditionalProperties map[string]string + func (a *ParamsWithAddPropsParams_P2_Inner) Set(fieldName string, value string) + func (a *ParamsWithAddPropsParams_P2_Inner) UnmarshalJSON(b []byte) error + func (a ParamsWithAddPropsParams_P2_Inner) Get(fieldName string) (value string, found bool) + func (a ParamsWithAddPropsParams_P2_Inner) MarshalJSON() ([]byte, error) + type ParamsWithAddPropsResponse struct + Body []byte + HTTPResponse *http.Response + func ParseParamsWithAddPropsResponse(rsp *http.Response) (*ParamsWithAddPropsResponse, error) + func (r ParamsWithAddPropsResponse) Status() string + func (r ParamsWithAddPropsResponse) StatusCode() int + type RequestBody struct + Field SchemaObject + type RequestEditorFn func(ctx context.Context, req *http.Request) error + type ResponseObject struct + Field SchemaObject + type SchemaObject struct + FirstName string + Role string + type ServerInterface interface + BodyWithAddProps func(ctx echo.Context) error + EnsureEverythingIsReferenced func(ctx echo.Context) error + ParamsWithAddProps func(ctx echo.Context, params ParamsWithAddPropsParams) error + type ServerInterfaceWrapper struct + Handler ServerInterface + func (w *ServerInterfaceWrapper) BodyWithAddProps(ctx echo.Context) error + func (w *ServerInterfaceWrapper) EnsureEverythingIsReferenced(ctx echo.Context) error + func (w *ServerInterfaceWrapper) ParamsWithAddProps(ctx echo.Context) error