Versions in this module Expand all Collapse all v0 v0.2.0 Oct 12, 2026 Changes in this version + func Base(baseURL, serverURL, specBasePath string) (base, warning string, err error) + func IsWrite(method string) bool + func WaitReady(ctx context.Context, client *http.Client, base, healthPath string, ...) error + func WritesAllowed(base string, allowed []string) bool + type Auth struct + Placements []Placement + Unsupported string + func ResolveAuth(reqs openapi3.SecurityRequirements, schemes openapi3.SecuritySchemes) Auth + func (a Auth) Needed() bool + type Input struct + Auth Auth + Base string + Headers map[string]string + Params params.Inputs + Token string + type NotBuildableError struct + Reason string + func (e *NotBuildableError) Error() string + type Placement struct + Bearer bool + In string + Name string + func AllPlacements(schemes openapi3.SecuritySchemes) []Placement + type Prepared struct + Auth Auth + Body []byte + Header http.Header + Method string + Target string + URL string + func Prepare(c *cases.Case, in Input) (*Prepared, error) + func (p *Prepared) Request(ctx context.Context) (*http.Request, error) + type Response struct + Body []byte + Duration time.Duration + Header http.Header + Status int + func Do(client *http.Client, req *http.Request, timeout time.Duration) (*Response, error) + func Send(ctx context.Context, client *http.Client, p *Prepared, timeout time.Duration) (*Response, error)