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

Add OpenAPI 3.0 support #15

Merged
merged 3 commits into from
Apr 20, 2018

Conversation

exoego
Copy link
Contributor

@exoego exoego commented Apr 14, 2018

This PR adds OpenAPI 3.0 support to close #12. It also closes #13 since it is required during test.

OpenAPI parser is replaced with the alternative one (https://github.com/Apicurio/oai-ts-core) which can parse both OpenAPI 2.0 (Swagger 2.0) and 3.0, because swagger-parser does not support OpenAPI 3.0 yet (see: APIDevTools/swagger-parser#72)

Note: The changes due to new parser seems very trivial, to my surprise. This means that parser can be swagger-parser again, once it supports OpenAPI 3.0, if you prefer the library.

@AKIRA-MIYAKE AKIRA-MIYAKE merged commit f73fd06 into AKIRA-MIYAKE:master Apr 20, 2018
@AKIRA-MIYAKE
Copy link
Owner

Thank you for a wonderful PR!
I was thinking about handling OpenAPI 3.0.
I will merge and update npm.

@exoego exoego deleted the openapi-3.0-support branch January 9, 2019 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants