Skip to content

Conversation

@yelizhenden-mdb
Copy link
Collaborator

@yelizhenden-mdb yelizhenden-mdb commented Mar 6, 2025

Proposed changes

Jira ticket: CLOUDP-271994

Ignore envelope and pretty query params because they are about response object formatting, and they are widely used in the MMS OpenAPI spec

Checklist

  • I have signed the MongoDB CLA
  • I have added tests that prove my fix is effective or that my feature works

Changes to Spectral

  • I have read the README file for Spectral Updates

Further comments

…ms (ignore envelope and pretty query params)
@yelizhenden-mdb yelizhenden-mdb marked this pull request as ready for review March 6, 2025 17:43
@yelizhenden-mdb yelizhenden-mdb requested a review from a team as a code owner March 6, 2025 17:43
Copy link
Member

@wtrocki wtrocki left a comment

Choose a reason for hiding this comment

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

LGTM as workaround for the current problem.
In long run we need global exceptions in spectral or openapi.
Exceptions should be defined and provided as input to validator downstream.

@yelizhenden-mdb yelizhenden-mdb merged commit a988e11 into main Mar 7, 2025
13 checks passed
@yelizhenden-mdb yelizhenden-mdb deleted the CLOUDP-271994/fix branch March 7, 2025 09:19
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