Skip to content

Conversation

andreaangiolillo
Copy link
Collaborator

@andreaangiolillo andreaangiolillo commented May 20, 2025

Proposed changes

Jira ticket: CLOUDP-319370

This PR adds curl and Atlas CLI examples to our OpenAPI specification. You can view the generated OpenAPI spec at this link. If you compare it to the current MongoDB documentation, you’ll notice that the new version includes an additional Request Sample section with both a curl request and an Atlas CLI example.

Examples:

AtlasCLI AtlasCLI

@andreaangiolillo andreaangiolillo marked this pull request as ready for review May 20, 2025 14:23
@andreaangiolillo andreaangiolillo requested a review from a team as a code owner May 20, 2025 14:23
@andreaangiolillo andreaangiolillo enabled auto-merge (squash) May 20, 2025 14:41
@andreaangiolillo andreaangiolillo requested a review from blva May 20, 2025 14:43
return codeSample{
Lang: "cURL",
Label: "Atlas CLI",
Source: "atlas api " + op.OperationID + " --help",
Copy link
Collaborator

Choose a reason for hiding this comment

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

more of a q for @jeroenvervaeke or maybe @andreaangiolillo already checked this, are there any OperationIDs/apis not included in auto-gen that we should account for here and filter them out?

Copy link
Collaborator

@blva blva left a comment

Choose a reason for hiding this comment

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

Approving since both my comments can be a follow-up. Awesome changes 🚀

@andreaangiolillo andreaangiolillo merged commit 6e76280 into main May 20, 2025
10 checks passed
@andreaangiolillo andreaangiolillo deleted the CLOUDP-319370 branch May 20, 2025 14:51
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