-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Support oneOf #1056
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
|
Not even in the part where it delegates to jsonschema? |
Not anywhere. We don't delegate to JSON Schema. The spec is very specific about it. We use an extended subset of JSON Schema, and explicitly don't support |
Unfortunately no. It uses a subset of the draft-4. |
Just curious. Why was oneOf explicitly not supported? |
This way something like defining a tree structure is not possible ..... Really bad news (Thought Swagger is good, but - oh, well ....) E.g.
is not possible ?!?!?!? I don't get it (Please be more pragmatic. But maybe its technically simply not doable in the Swagger implementation). |
It is doable, but please send your question to the google group. It has nothing to do with the UI. |
I used a oneOf and it rendered as an empty object. It seems to be ignored right now.
The text was updated successfully, but these errors were encountered: