Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions devops/developer-api/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1323,13 +1323,13 @@ components:
type: string
description: Name of the database
example: "myredis"
region:
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
Comment on lines +1326 to +1331
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.
example: "aws"
primary_region:
type: string
description: Primary Region of the Global Database
Expand Down Expand Up @@ -1399,7 +1399,7 @@ components:
example: true
required:
- database_name
- region
- platform
- primary_region

ChangePlanRequest:
Expand Down