-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(validate): surface all validation errors #639
Conversation
@@ -50,8 +50,8 @@ | |||
"jsonpath": "^1.1.1", | |||
"mime-types": "^2.1.35", | |||
"node-fetch": "^2.6.1", | |||
"oas": "^18.4.4", | |||
"oas-normalize": "^7.0.0", | |||
"oas": "^19.0.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nothing new there that's going to be used within the library, I just released a v19 last week so might as well update it here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we even use oas
anywhere? Nothing comes up during my quick search
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ignore me, it's used in the reducer.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We load it in for the reducer command as that code is in oas
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you consider this a breaking change? If so, could you rename the PR title from fix(validate)
to feat(breaking/validate)
?
@kanadgupta No I wouldn't consider this a breaking change. |
🧰 Changes
This updates our @readme/openapi-parser and oas-normalize dependencies to begin surfacing all validation errors in OpenAPI and Swagger validation.