Versions in this module Expand all Collapse all v4 v4.0.0 Jul 11, 2026 Changes in this version + func Run(t testing.TB, suite Suite) + type Check struct + Expect Expectation + Name string + Request Request + func StableHTTPChecks(cfg StableHTTPConfig) []Check + type Expectation func(Response) error + func ExpectAll(expectations ...Expectation) Expectation + func ExpectHeader(name, value string) Expectation + func ExpectHeaderContains(name, value string) Expectation + func ExpectOpenAPICompatible(base []byte) Expectation + func ExpectOpenAPIDocument() Expectation + func ExpectOpenAPIGolden(golden []byte) Expectation + func ExpectProblemDetails(status int) Expectation + func ExpectStatus(status int) Expectation + type Finding struct + Check string + Message string + type Request struct + Body []byte + Header http.Header + Method string + Path string + type Response struct + Body []byte + Header http.Header + Status int + type Result struct + Findings []Finding + func RunChecks(ctx context.Context, suite Suite) Result + func (r Result) Error() error + func (r Result) OK() bool + type StableHTTPConfig struct + OpenAPIPath string + PreviousOpenAPI []byte + ProblemRequest Request + ProblemStatus int + ReadinessPath string + VersionPath string + type Suite struct + Checks []Check + MaxBodyBytes int64 + Target Target + Timeout time.Duration + type Target struct + BaseURL string + Client *http.Client + Handler http.Handler