Versions in this module Expand all Collapse all v0 v0.1.0 Apr 15, 2026 Changes in this version + const DateFormat + func GetOpenAPISpecJSON() ([]byte, error) + func MarshalDeepObject(i any, paramName string) (string, error) + func NewGetContentObjectRequest(server string, param string) (*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 NewGetLabelExplodePrimitiveRequest(server string, param int32) (*http.Request, error) + func NewGetLabelNoExplodeArrayRequest(server string, param []int32) (*http.Request, error) + func NewGetLabelNoExplodeObjectRequest(server string, param Object) (*http.Request, error) + func NewGetLabelPrimitiveRequest(server string, param int32) (*http.Request, error) + func NewGetMatrixExplodeArrayRequest(server string, id []int32) (*http.Request, error) + func NewGetMatrixExplodeObjectRequest(server string, id Object) (*http.Request, error) + func NewGetMatrixExplodePrimitiveRequest(server string, id int32) (*http.Request, error) + func NewGetMatrixNoExplodeArrayRequest(server string, id []int32) (*http.Request, error) + func NewGetMatrixNoExplodeObjectRequest(server string, id Object) (*http.Request, error) + func NewGetMatrixPrimitiveRequest(server string, id int32) (*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 NewGetSimpleExplodePrimitiveRequest(server string, param int32) (*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 StyleParameter(paramName string, value any, opts ParameterOptions) (string, error) + type Client struct + Client HttpRequestDoer + RequestEditors []RequestEditorFn + Server string + func NewClient(server string, opts ...ClientOption) (*Client, error) + func (c *Client) GetContentObject(ctx context.Context, param string, 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) GetLabelExplodePrimitive(ctx context.Context, param int32, 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) GetLabelPrimitive(ctx context.Context, param int32, 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) GetMatrixExplodePrimitive(ctx context.Context, id int32, 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) GetMatrixPrimitive(ctx context.Context, id int32, 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) GetSimpleExplodePrimitive(ctx context.Context, param int32, 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) + type ClientInterface interface + GetContentObject func(ctx context.Context, param string, reqEditors ...RequestEditorFn) (*http.Response, error) + GetCookie func(ctx context.Context, params *GetCookieParams, reqEditors ...RequestEditorFn) (*http.Response, error) + GetDeepObject func(ctx context.Context, params *GetDeepObjectParams, ...) (*http.Response, error) + GetHeader func(ctx context.Context, params *GetHeaderParams, reqEditors ...RequestEditorFn) (*http.Response, error) + GetLabelExplodeArray func(ctx context.Context, param []int32, reqEditors ...RequestEditorFn) (*http.Response, error) + GetLabelExplodeObject func(ctx context.Context, param Object, reqEditors ...RequestEditorFn) (*http.Response, error) + GetLabelExplodePrimitive func(ctx context.Context, param int32, reqEditors ...RequestEditorFn) (*http.Response, error) + GetLabelNoExplodeArray func(ctx context.Context, param []int32, reqEditors ...RequestEditorFn) (*http.Response, error) + GetLabelNoExplodeObject func(ctx context.Context, param Object, reqEditors ...RequestEditorFn) (*http.Response, error) + GetLabelPrimitive func(ctx context.Context, param int32, reqEditors ...RequestEditorFn) (*http.Response, error) + GetMatrixExplodeArray func(ctx context.Context, id []int32, reqEditors ...RequestEditorFn) (*http.Response, error) + GetMatrixExplodeObject func(ctx context.Context, id Object, reqEditors ...RequestEditorFn) (*http.Response, error) + GetMatrixExplodePrimitive func(ctx context.Context, id int32, reqEditors ...RequestEditorFn) (*http.Response, error) + GetMatrixNoExplodeArray func(ctx context.Context, id []int32, reqEditors ...RequestEditorFn) (*http.Response, error) + GetMatrixNoExplodeObject func(ctx context.Context, id Object, reqEditors ...RequestEditorFn) (*http.Response, error) + GetMatrixPrimitive func(ctx context.Context, id int32, reqEditors ...RequestEditorFn) (*http.Response, error) + GetPassThrough func(ctx context.Context, param string, reqEditors ...RequestEditorFn) (*http.Response, error) + GetQueryForm func(ctx context.Context, params *GetQueryFormParams, reqEditors ...RequestEditorFn) (*http.Response, error) + GetSimpleExplodeArray func(ctx context.Context, param []int32, reqEditors ...RequestEditorFn) (*http.Response, error) + GetSimpleExplodeObject func(ctx context.Context, param Object, reqEditors ...RequestEditorFn) (*http.Response, error) + GetSimpleExplodePrimitive func(ctx context.Context, param int32, reqEditors ...RequestEditorFn) (*http.Response, error) + GetSimpleNoExplodeArray func(ctx context.Context, param []int32, reqEditors ...RequestEditorFn) (*http.Response, error) + GetSimpleNoExplodeObject func(ctx context.Context, param Object, reqEditors ...RequestEditorFn) (*http.Response, error) + GetSimplePrimitive func(ctx context.Context, param int32, 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 ComplexObject struct + ID int + IsAdmin bool + Object Object + func (s *ComplexObject) ApplyDefaults() + type Date struct + func (d *Date) UnmarshalJSON(data []byte) error + func (d *Date) UnmarshalText(data []byte) error + func (d Date) Format(layout string) string + func (d Date) MarshalJSON() ([]byte, error) + func (d Date) MarshalText() ([]byte, error) + func (d Date) String() string + type GetCookieParams struct + A *[]int32 + Co *string + Ea *[]int32 + Eo *Object + Ep *int32 + O *Object + P *int32 + type GetDeepObjectParams struct + DeepObj ComplexObject + type GetHeaderParams struct + XArray *[]int32 + XArrayExploded *[]int32 + XComplexObject *string + XObject *Object + XObjectExploded *Object + XPrimitive *int32 + XPrimitiveExploded *int32 + type GetQueryFormParams struct + A *[]int32 + Co *string + Ea *[]int32 + Eo *Object + Ep *int32 + O *Object + P *int32 + Ps *string + type HttpRequestDoer interface + Do func(req *http.Request) (*http.Response, error) + type Object struct + FirstName string + Role string + func (s *Object) ApplyDefaults() + type ParamLocation int + const ParamLocationCookie + const ParamLocationHeader + const ParamLocationPath + const ParamLocationQuery + const ParamLocationUndefined + type ParameterOptions struct + AllowReserved bool + Explode bool + Format string + ParamLocation ParamLocation + Required bool + Style string + Type string + type RequestEditorFn func(ctx context.Context, req *http.Request) error + type UUID = uuid.UUID