Versions in this module Expand all Collapse all v0 v0.0.0 May 13, 2026 Changes in this version + func NewRequest(options ...RequestOption) *request + type ApiClientCallable func(method string, uri string, body io.Reader, result any, ...) (*http.Response, error) + type OpenApiClient interface + RequestJSON func(method string, uri string, body io.Reader, result any, ...) (*http.Response, error) + type RequestOption func(*request) + func Body(body any) RequestOption + func Data(key string, value any) RequestOption + func Header(key string, value string) RequestOption + func Headers(headers map[string][]string) RequestOption + func Param(key string, value any) RequestOption + func Params(params map[string][]any) RequestOption + func RequestJSON(fn ApiClientCallable) RequestOption + func RequestOptions(options ...RequestOption) RequestOption + func Result(result any) RequestOption + func WithClient(client OpenApiClient) RequestOption