Uh oh!
There was an error while loading. Please reload this page.
Make PathItem operation properties specific - #2127
Conversation
handrews
commented
Feb 5, 2020
As the primary author of recent drafts of the JSON Schema spec, this is not an abuse of |
axelcostaspena
commented
Feb 5, 2020
MikeRalphson
left a comment
There was a problem hiding this comment.
Danger Will Robinson! This PR is against the OpenAPI.next branch. I do not believe any merges are scheduled from this branch. @webron please advise correct branch (and maybe we can remove OpenAPI.next?
axelcostaspena
commented
Feb 7, 2020
@MikeRalphson hmm sorry! Issue sems worse since the modification comes FROM OpenApi.next, which is unmerged into master. So let me solve it, I will create proper PR. But which work branch to choose? DEVELOPMENT.md:47 and README.md:24 seem to tell me to use 3.1.0-dev - non breaking change - instead of 3.0.3-dev - typos or clarifications - but none of that branch contain the v3 schema ¿? |
MikeRalphson
commented
Feb 7, 2020
That guidance is for changes to the specification. The schema is non-normative, so I think |
Avoid misuse of `patternProperties` feature. FixOAI#2126
599549e to
9efdcedCompareaxelcostaspena
commented
Feb 7, 2020
@MikeRalphson PR source force updated |
MikeRalphson
left a comment
There was a problem hiding this comment.
Aye from me. Thanks for rebasing.
karenetheridge
commented
Mar 28, 2022
Should this also be merged into v3.1/schema*, as the same keyword usage exists there? |
webron
commented
Mar 28, 2022
Wouldn't hurt... |
(port of PR OAI#2127 to v3.1)
(port of PR OAI#2127 to v3.2)
PR for #2126.
Move the Operations properties definitions from
patternPropertiesto thepropertiesset, explicitly defining all of them. The goal is to get better coding tools completion - IntelliJ IDEA does - and to improve the spec quality with a purer spec schema usage.Changes are 100% backwards compatible, all validating schemas will validate and all non validating schemas won't validate after merge. After merge, coding tools will get more information because of replacing a pattern with a defined literal set.