-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Various fixes to get ready for 2.0 (#82)
- update indexmap dep to 2.0.0 - reorder Components to match spec - coalesce serde pragmas - add callbacks to Operation - fix deserialization of subschemas with typed schemas - fix some clippy nits
- Loading branch information
Showing
12 changed files
with
752 additions
and
95 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Changelog | ||
|
||
## 2.0.0-rc.0 (2023-10-21) | ||
|
||
- Bump `indexmap` dependency to 2.0.0 | ||
- Add `enum` field to boolean schema | ||
- Add `callbacks` to `Operation` type (out of conformance with spec) | ||
- Fix handling of subschemas with typed Schema objects | ||
- Fixes to SecuritySchema handling |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
[package] | ||
name = "openapiv3" | ||
version = "1.0.3" | ||
version = "2.0.0-rc.0" | ||
authors = ["Glade Miller <[email protected]>"] | ||
edition = "2018" | ||
edition = "2021" | ||
license = "MIT/Apache-2.0" | ||
keywords = ["openapi", "v3"] | ||
homepage = "https://github.com/glademiller/openapiv3" | ||
repository = "https://github.com/glademiller/openapiv3" | ||
description = "This crate provides data structures that represent the OpenAPI v3.0.x specification easily deserializable with serde." | ||
|
||
[dependencies] | ||
serde = {version = "1.0", features = ["derive"]} | ||
serde = { version = "1.0", features = ["derive"] } | ||
serde_json = "1.0" | ||
indexmap = {version = ">=1.6.1, <3.0.0", features = ["serde"]} | ||
indexmap = { version = "2.0.0", features = ["serde"] } | ||
|
||
[dev-dependencies] | ||
newline-converter = "0.3.0" | ||
|
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
Oops, something went wrong.