Versions in this module Expand all Collapse all v0 v0.30.0 May 13, 2026 Changes in this version + type Request struct + func New(method, pathPattern string, writer runtime.ClientRequestWriter) *Request + func (r *Request) BuildHTTPContext(parentCtx context.Context, mediaType, basePath string, ...) (*http.Request, context.CancelFunc, error) + func (r *Request) GetBody() []byte + func (r *Request) GetBodyParam() any + func (r *Request) GetFileParam() map[string][]runtime.NamedReadCloser + func (r *Request) GetHeaderParams() http.Header + func (r *Request) GetMethod() string + func (r *Request) GetPath() string + func (r *Request) GetQueryParams() url.Values + func (r *Request) GetTimeout() time.Duration + func (r *Request) SetBodyParam(payload any) error + func (r *Request) SetConsumes(consumers []string) + func (r *Request) SetFileParam(name string, files ...runtime.NamedReadCloser) error + func (r *Request) SetFormParam(name string, values ...string) error + func (r *Request) SetHeaderParam(name string, values ...string) error + func (r *Request) SetPathParam(name string, value string) error + func (r *Request) SetQueryParam(name string, values ...string) error + func (r *Request) SetTimeout(timeout time.Duration) error