Skip to content

Comments

[Cosmos DB] Add 2025-05-30-preview API version to MongoCluster TypeSpec#36846

Closed
Copilot wants to merge 2 commits intomainfrom
copilot/fix-36845
Closed

[Cosmos DB] Add 2025-05-30-preview API version to MongoCluster TypeSpec#36846
Copilot wants to merge 2 commits intomainfrom
copilot/fix-36845

Conversation

Copy link
Contributor

Copilot AI commented Aug 20, 2025

This PR adds the new 2025-05-30-preview API version to the Azure Cosmos DB for MongoDB vCore clusters TypeSpec specification to support SDK generation.

Changes Made

  • Added new API version: 2025-05-30-preview to the Versions enum in main.tsp
  • Generated OpenAPI spec: New swagger file created at specification/mongocluster/resource-manager/Microsoft.DocumentDB/preview/2025-05-30-preview/mongoCluster.json
  • TypeSpec validation: All compilation and validation checks pass successfully

Context

This change supports the Azure Cosmos DB SDK generation request for the 2025-05-30-preview API version across multiple languages (.NET, Java, Python, Go, JavaScript). The MongoCluster TypeSpec project manages Azure Cosmos DB for MongoDB vCore resources including clusters, firewall rules, replicas, and user management under the Microsoft.DocumentDB namespace.

Generated Artifacts

The TypeSpec compilation successfully generates the OpenAPI specification with all existing operations and resources available in the new API version, maintaining consistency with the existing MongoCluster service definitions.

Fixes #36845.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: azure-sdk <53356347+azure-sdk@users.noreply.github.com>
Copilot AI changed the title [WIP] [TypeSpec] Generate SDK for Azure Cosmos DB [Cosmos DB] Add 2025-05-30-preview API version to MongoCluster TypeSpec Aug 20, 2025
Copilot AI requested a review from azure-sdk August 20, 2025 23:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[TypeSpec] Generate SDK for Azure Cosmos DB

3 participants