Versions in this module Expand all Collapse all v4 v4.0.0 Jul 11, 2026 Changes in this version + func AssertAllOperationsHaveOperationID(t testing.TB, registry *specs.Registry) + func AssertOpenAPICompatible(t testing.TB, base, head []byte) + func AssertOperationHasAdminPolicy(t testing.TB, registry *specs.Registry, method, path string) + func AssertOperationHasAdminPolicyNamed(t testing.TB, registry *specs.Registry, method, path, policy string) + func AssertOperationHasIdempotencyPolicy(t testing.TB, registry *specs.Registry, method, path string) + func AssertOperationHasIdempotencyPolicyHeader(t testing.TB, registry *specs.Registry, method, path, header string) + func AssertOperationHasProblemResponse(t testing.TB, registry *specs.Registry, method, path string, status int) + func AssertOperationHasProblemResponses(t testing.TB, registry *specs.Registry, method, path string, statuses ...int) + func AssertOperationHasRateLimitPolicy(t testing.TB, registry *specs.Registry, method, path, policy string) + func AssertOperationHasResponse(t testing.TB, registry *specs.Registry, method, path string, status int) + func AssertOperationHasSecurity(t testing.TB, registry *specs.Registry, method, path, scheme string) + func AssertOperationHasSecurityScopes(t testing.TB, registry *specs.Registry, method, path, scheme string, ...) + func AssertOperationHasTenantPolicy(t testing.TB, registry *specs.Registry, method, path string) + func AssertOperationHasTenantPolicySource(t testing.TB, registry *specs.Registry, method, path, source string) + func AssertOperationID(t testing.TB, registry *specs.Registry, method, path, operationID string) + func AssertProblemCatalogHas(t testing.TB, catalog *httpx.ProblemCatalog, code httpx.ProblemCode) + func AssertRegistryValid(t testing.TB, registry *routecontracts.Registry) + func AssertRouteCoverage(t testing.TB, registry *routecontracts.Registry, method, pattern string) + func AssertSecuritySchemesDefined(t testing.TB, registry *specs.Registry) + func AssertUniqueOperationIDs(t testing.TB, registry *specs.Registry) + func GoldenOpenAPI(t testing.TB, got, golden []byte) + func NormalizeOpenAPI(doc []byte) ([]byte, error) + func OpenAPICompatibilityFindings(base, head []byte) ([]string, error) + func SecuritySchemeDefinitionFindings(registry *specs.Registry) []string Other modules containing this package github.com/aatuh/api-toolkit/v2 github.com/aatuh/api-toolkit/v3