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 OpenAPI 3.0.0 #5

Open
jbowes opened this issue Oct 15, 2017 · 0 comments
Open

Support OpenAPI 3.0.0 #5

jbowes opened this issue Oct 15, 2017 · 0 comments

Comments

@jbowes
Copy link
Owner

jbowes commented Oct 15, 2017

Add support for generating code from OpenAPI 3.0.0 documents.

The latest version of OpenAPI should be the default internal representation of documents, so this change should look something like:

  • add a new spec.go file to the openapi package, defining the document structure, and how to parse it
  • teach the openapi/v2 package (or a new package) how to convert from v2 to v3
  • teach the openapi package how to detect document types, and use the appropriate parser
  • convert the rest of the code to reference types from openapi instead of openapi/v2.
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