feat(rulesets): improve OAS 3.1 external references validation#2844
feat(rulesets): improve OAS 3.1 external references validation#2844fluz wants to merge 3 commits intostoplightio:developfrom
Conversation
- Update OAS 3.1 schema to better support external references - Add external references test scenario in test-harness - Update Arazzo schema validators to use improved OAS 3.1 schema - Enhance OAS 3 schema test coverage Fixes issues with external reference validation in OpenAPI 3.1 documents.
a7c06e7 to
fde1451
Compare
|
Hi someone can review my proposal. TIA |
|
Hi Pals, just a kindly reminder to not forget my PR 🙏🏾 :-) |
|
Hi @mnaumanali94 , can you please take a look on this PR when you have time 🙏🏾 :-) |
|
Could you please take a look at my PR? 🙏🏾 Thanks! |
|
Thank you @fluz for providing a fix for this issue. The |
|
Hi @stoplightio/oss-spectral Please take a look when it is possible in this PR. 🙏🏾 Thanks in advance |
|
@fluz did you consider requesting a review personally (not from the whole team)? |
Fix schema validation error where path items were incorrectly flagged as having unevaluated properties. Changed paths pattern properties to use path-item-or-reference instead of path-item to support external references in OpenAPI 3.1 specifications properly.
Fixes the issue where documents like:
Would generate:
"~1greetings" property must not have unevaluated properties.Fixes #2655
Checklist
Does this PR introduce a breaking change?