Summary
The vendored OpenAPI fixture in the repo is now behind the current upstream Redis Cloud spec and should be refreshed intentionally rather than drifting until another feature happens to touch it.
Evidence
Current repo fixture:
tests/fixtures/cloud_openapi.json has 75 paths and 119 schemas
Current upstream spec (https://api.redislabs.com/v1/cloud-api-docs):
That means the local fixture is missing at least:
Examples of upstream-only paths
/cost-report
/cost-report/{costReportId}
/subscriptions/{subscriptionId}/private-link
/subscriptions/{subscriptionId}/private-link/principals
/subscriptions/{subscriptionId}/private-link/endpoint-script
/subscriptions/{subscriptionId}/resource-tags
/subscriptions/{subscriptionId}/databases/{databaseId}/available-target-versions
/fixed/subscriptions/{subscriptionId}/databases/{databaseId}/available-target-versions
Examples of upstream-only schemas
CostReportCreateRequest
BdbAvailableVersionsResponse
TargetVersion
SubscriptionResourceTagsUpdateRequest
ResourceTag
- several
PrivateLink* request/response schemas
Why this matters
Acceptance criteria
Summary
The vendored OpenAPI fixture in the repo is now behind the current upstream Redis Cloud spec and should be refreshed intentionally rather than drifting until another feature happens to touch it.
Evidence
Current repo fixture:
tests/fixtures/cloud_openapi.jsonhas75paths and119schemasCurrent upstream spec (
https://api.redislabs.com/v1/cloud-api-docs):89paths137schemasThat means the local fixture is missing at least:
14paths18schemasExamples of upstream-only paths
/cost-report/cost-report/{costReportId}/subscriptions/{subscriptionId}/private-link/subscriptions/{subscriptionId}/private-link/principals/subscriptions/{subscriptionId}/private-link/endpoint-script/subscriptions/{subscriptionId}/resource-tags/subscriptions/{subscriptionId}/databases/{databaseId}/available-target-versions/fixed/subscriptions/{subscriptionId}/databases/{databaseId}/available-target-versionsExamples of upstream-only schemas
CostReportCreateRequestBdbAvailableVersionsResponseTargetVersionSubscriptionResourceTagsUpdateRequestResourceTagPrivateLink*request/response schemasWhy this matters
Acceptance criteria
tests/fixtures/cloud_openapi.jsonfrom the official source