-
Notifications
You must be signed in to change notification settings - Fork 209
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow additional integer types (#575)
This PR adds a new `non_strict_integers` feature flag to allow use of non-standard integer formats added in #571 at OpenAPI spec.
- Loading branch information
Showing
11 changed files
with
173 additions
and
31 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,13 +19,15 @@ categories = ["web-programming"] | |
authors = ["Juha Kukkonen <[email protected]>"] | ||
|
||
[features] | ||
# See README.md for list and explanations of features | ||
default = [] | ||
debug = ["utoipa-gen/debug"] | ||
actix_extras = ["utoipa-gen/actix_extras"] | ||
rocket_extras = ["utoipa-gen/rocket_extras"] | ||
axum_extras = ["utoipa-gen/axum_extras"] | ||
chrono = ["utoipa-gen/chrono"] | ||
decimal = ["utoipa-gen/decimal"] | ||
non_strict_integers = ["utoipa-gen/non_strict_integers"] | ||
yaml = ["serde_yaml", "utoipa-gen/yaml"] | ||
uuid = ["utoipa-gen/uuid"] | ||
time = ["utoipa-gen/time"] | ||
|
@@ -46,5 +48,5 @@ indexmap = { version = "1", features = ["serde"] } | |
assert-json-diff = "2" | ||
|
||
[package.metadata.docs.rs] | ||
features = ["actix_extras", "openapi_extensions", "yaml", "uuid"] | ||
features = ["actix_extras", "non_strict_integers", "openapi_extensions", "uuid", "yaml"] | ||
rustdoc-args = ["--cfg", "doc_cfg"] |
Oops, something went wrong.