Skip to content

Conversation

andreaangiolillo
Copy link
Collaborator

@andreaangiolillo andreaangiolillo commented Jul 28, 2025

Proposed changes

Jira ticket: CLOUDP-333549

This PR fixes two bugs related to the logic to generate curl examples for endpoints not supporting the json accept header:

  • General bugs: the autogeneration logic was adding the Accept: application/vnd.atlas.<api_version>+json" to endpoints not supporting json
  • gzip bug: the curl examples were missing the --output flag for endpoints supporting only gzip

Example:

Screenshot 2025-07-28 at 15 35 10

@andreaangiolillo andreaangiolillo marked this pull request as ready for review July 28, 2025 14:40
@andreaangiolillo andreaangiolillo requested review from a team as code owners July 28, 2025 14:40
@andreaangiolillo andreaangiolillo merged commit 9787088 into main Jul 29, 2025
9 checks passed
@andreaangiolillo andreaangiolillo deleted the CLOUDP-333549 branch July 29, 2025 08: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