Skip to content

Conversation

@mtahasylmz
Copy link
Collaborator

changed region field with platform field to accept desired cloud platform for the redis db being created.

@linear
Copy link

linear bot commented Nov 5, 2025

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the CreateDatabaseRequest schema in the OpenAPI specification to replace the region field with a platform field, allowing users to specify the cloud provider (AWS or GCP) when creating a database instead of the previous single "global" region option.

  • Renamed region parameter to platform in the database creation request
  • Updated enum values from ["global"] to ["aws", "gcp"] to support multi-cloud providers
  • Updated the description to reflect the new cloud platform selection purpose

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +1326 to +1331
platform:
type: string
description: Region of the database. Only valid option is 'global'.
description: Desired cloud platform for the database.
enum:
- global
default: "global"
example: "global"
- aws
- gcp
Copy link

Copilot AI Nov 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The CreateDatabaseRequest schema now requires a platform field, but the Database response schema (line 1094) still returns a region field with enum ['global']. This inconsistency could confuse API consumers. Consider also updating the Database response schema to include a platform field that reflects the cloud provider, or ensure the documentation clarifies the mapping between request and response fields.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants