-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to OpenAPIKit 3.0.0-alpha.9 (#147)
### Motivation Investigation into #128 led to a new release of OpenAPIKit, which supports path references. Supporting path references isn't something we want to do right now because: 1. OpenAPI 3.0.3 only supports external path references (cf. 3.1, which supports internal references too). 2. Swift OpenAPI Generator currently only supports OpenAPI 3.0.x. 3. Swift OpenAPI Generator currently doesn't support external references. The OpenAPIKit update comes with a new API, because the paths are now an `Either` to support being a `PathItem` or a reference to a `PathItem`. For now we'd like to be keeping up to date with OpenAPIKit so that, when we support OpenAPI 3.1 and/or external references, we have the APIs we need in the upstream package. ### Modifications - Update to OpenAPIKit 3.0.0-alpha.9. - Attempt to resolve the path item during translation. ### Result An error will be thrown when using an OpenAPI document with a path reference. ### Test Plan Added reference tests. --------- Signed-off-by: Si Beaumont <[email protected]>
- Loading branch information
1 parent
16420df
commit 81f8743
Showing
7 changed files
with
184 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters