Skip to content

spec(fixtures): refresh bundled cloud_openapi.json from the live Redis Cloud spec #69

@joshrotenberg

Description

@joshrotenberg

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):

  • 89 paths
  • 137 schemas

That means the local fixture is missing at least:

  • 14 paths
  • 18 schemas

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions