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

Use x-oas-draft-alternate-schema #27

Closed
nfroidure opened this issue Mar 3, 2019 · 1 comment
Closed

Use x-oas-draft-alternate-schema #27

nfroidure opened this issue Mar 3, 2019 · 1 comment
Assignees

Comments

@nfroidure
Copy link
Owner

Looks like JSON Schema support is not an option:
OAI/OpenAPI-Specification#687

The solution to still use AJV for simplicity could be to not support OpenAPI schema at all and explicitly support only x-oas-draft-alternate-schema, see:
https://philsturgeon.uk/api/2018/04/13/openapi-and-json-schema-divergence-solved/
https://github.com/wework/json-schema-to-openapi-schema

@nfroidure
Copy link
Owner Author

This will be shipped with OAS 3.1 \o/

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