mattpolzin / OpenAPIKit

Codable Swift OpenAPI implementation.
MIT License
280 stars 35 forks source link

First pass at function that takes OpenAPI 3.0 documents to OpenAPI 3.1 documents #263

Closed mattpolzin closed 1 year ago

mattpolzin commented 1 year ago

Second attempt at a new module that facilitates translating OpenAPI 3.0 and OpenAPI 3.1 documents from one version to the other.

Moving the OpenAPI namespace into the two version-specific modules seems to be the right approach. This PR also moves several other modules into the core namespace to reduce overall duplication of effort while translating one version to the other.