Skip to content

Add support for OpenAPI Specification V3.0 #39

@akpsgit

Description

@akpsgit

Currently, goswagger OAS v2.0 structures are used to store spec information - both provided and reconstructed. In order to get full support for OAS v3.0, need to move to V3 structures (e.g. https://github.com/getkin/kin-openapi/tree/master/openapi3). To support older versions, we can use converters such as https://github.com/LucyBot-Inc/api-spec-converter, that can be executed using CLI, for example if the user provided a V2 spec that need to diff against.

Alternatives:
Keep the current goswagger OAS v2.0 structures and use converters such as https://github.com/getkin/kin-openapi/tree/master/openapi2conv to to generate the V3 spec. This is less preferred because if the traffic was according to V3 spec, the reconstruction will be lossy.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions