oag icon indicating copy to clipboard operation
oag copied to clipboard

Support OpenAPI 3.0.0

Open jbowes opened this issue 8 years ago • 0 comments

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.

jbowes avatar Oct 15 '17 11:10 jbowes