Officially discourage 2019-09 #209
Replies: 2 comments 2 replies
-
I personally agree with this, and this is aligned with the strategy I'm taking for JSON BinPack: support the latest version of the JSON Schema specification only. Regarding tooling, I was working on https://github.com/sourcemeta/alterschema/ for this very specific reason. I reckon I didn't spent much time on it lately, but various rules for transforming from 2019-09 to 2020-12 have been implemented already. |
Beta Was this translation helpful? Give feedback.
-
I think we can close this. I hardly ever see it in use anymore, and when I do, I tell them to use 2020-12 instead or draft 7 if their implementation doesn't support 2020-12. |
Beta Was this translation helpful? Give feedback.
-
2019-09 was not the latest draft long enough to see truly broad adoption before it was superseded by 2020-12.
2019-09 also has the
$recursive*
keywords, which neither do what they were supposed to do nor match the behavior of anything before or since.And, of course, 2020-12 is compatible with OpenAPI 3.1, and 2019-09 is not.
Regardless of our larger strategy around draft support, I think we should make life easier for our community by explicitly discouraging the use or implementation of 2019-09 in favor of 2020-12.
At this point, there are too many options available, and by default people assume they should all be supported. Reducing the number by guiding people to the most useful drafts will make life easier all around. It would also be very easy to provide an official automatic 2019-09 to 2020-12 migration tool for anyone who did start using 2019-09.
Beta Was this translation helpful? Give feedback.
All reactions