Skip to content
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

Support oneOf JSON Schema #10

Open
brendo opened this issue Jan 23, 2017 · 0 comments
Open

Support oneOf JSON Schema #10

brendo opened this issue Jan 23, 2017 · 0 comments

Comments

@brendo
Copy link
Contributor

brendo commented Jan 23, 2017

The Open API v2 specification notably does not support oneOf (or anyOf #9).

However, Open API v3 does have full JSON Schema support via the content property. The format of the Swagger differs a little to accomplish this (requestBody.content/resources.{code}.content), which will be a separate ticket, but there's still pay it forward for us to be able to visualise the oneOf definitions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant