We want to be able to use the oneOf, anyOf keywords in addition to the allOf keyword currently employed by the editor.
This will require changes to the UI: The editor with default to the use of allOf when defining objects. Then add a dropdown menu that will allow users to select oneOf or allOf with the default being allOf. Selection of the oneOf keyword would then activate an additional dropdown requiring the user to select the Item Type.
Swagger/OpenAPI documentation:
https://swagger.io/docs/specification/data-models/oneof-anyof-allof-not/
https://swagger.io/docs/specification/data-models/
We want to be able to use the oneOf, anyOf keywords in addition to the allOf keyword currently employed by the editor.
This will require changes to the UI: The editor with default to the use of allOf when defining objects. Then add a dropdown menu that will allow users to select oneOf or allOf with the default being allOf. Selection of the oneOf keyword would then activate an additional dropdown requiring the user to select the Item Type.
Swagger/OpenAPI documentation:
https://swagger.io/docs/specification/data-models/oneof-anyof-allof-not/
https://swagger.io/docs/specification/data-models/