Replies: 2 comments 2 replies
-
OAS 3.1 already uses "actual" JSON Schema 2020-12 (with a few extensions that for validation can be safely ignored, but can impact code gen, e.g. I cannot imagine Moonwalk going backwards on this, but as the recent blog post about shipping Moonwalk in 2024 notes, thre is also a desire to loosen the coupling between OAS and any specific schema system (which I agree with as a goal). My guess is that it wil retain the ability to use "actual" JSON Schema (whatever that means in 2024- it's not entirely clear where JSON Schema is headed these days), but may support alternatives. But that's just a guess on my part. |
Beta Was this translation helpful? Give feedback.
-
Closing since this was answered and has no Moonwalk impact. |
Beta Was this translation helpful? Give feedback.
-
I am not sure this is written somewhere, it seems it is not.
Does this proposal relies on actual JSON Schemas or the incompatible ones used in version 3 where for instance you cannot tell
"type": ["string", "object", "null"]
but have to provide"nullable": true, "oneOf": ...
.The wording tells "JSON Schema" but I know that the same wording is used everywhere when the schemas are actually not proper JSON schemas. So it could be worth make that explicit.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions