Add OpenAPI 3.2 format detection and ruleset support#2917
Add OpenAPI 3.2 format detection and ruleset support#2917mkistler wants to merge 3 commits intostoplightio:developfrom
Conversation
|
Hi @mkistler, Thanks for the contribution, we really appreciate this, as will all Spectral users, and coming from an OpenAPI TSC member ❤️ does this bring full support for OpenAPI 3.2 rules, or are there any gaps to be aware of? Just trying to ascertain before I dive in for a review and run though locally. Thanks again, Yousaf |
|
@YOU54F It's been a while since I created this, and I did it with the help of AI (now noted in the PR description), so I asked AI to check coverage of the new features as described in the changeling for OpenAPI 3.2. Here's what it reported: OpenAPI 3.2 feature checklistSource: OpenAPI 3.2.0 changelog How this checklist was evaluated
Baseline repo support for OpenAPI 3.2
Headline features
Data modeling and representation
Additional features
Standards and editorial changes
SummaryMost OpenAPI 3.2 additions are covered at the schema-validation level because Spectral ships the official OpenAPI 3.2 schema bundle and wires The biggest gaps are:
|
Fixes #2910.
Checklist
Does this PR introduce a breaking change?
Screenshots
If applicable, add screenshots or gifs to help demonstrate the changes. If not applicable, remove this screenshots section before creating the PR.
Additional context
This PR was developed with the help of AI, specifically the Copilot CLI.