-
Notifications
You must be signed in to change notification settings - Fork 202
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit updates examples to use the latest available functionality such as nesting and `utoipa-axum` in case of todo-axum.
- Loading branch information
Showing
21 changed files
with
120 additions
and
226 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -4,25 +4,22 @@ description = "Simple axum todo example api with utoipa and Swagger UI, Rapidoc, | |
version = "0.1.0" | ||
edition = "2021" | ||
license = "MIT" | ||
authors = [ | ||
"Elli Example <[email protected]>" | ||
] | ||
authors = ["Elli Example <[email protected]>"] | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
axum = "0.7" | ||
hyper = { version = "1.0.1", features = ["full"] } | ||
tokio = { version = "1.17", features = ["full"] } | ||
tower = "0.4" | ||
tower = "0.5" | ||
utoipa = { path = "../../utoipa", features = ["axum_extras"] } | ||
utoipa-swagger-ui = { path = "../../utoipa-swagger-ui", features = ["axum"] } | ||
utoipa-axum = { path = "../../utoipa-axum" } | ||
utoipa-redoc = { path = "../../utoipa-redoc", features = ["axum"] } | ||
utoipa-rapidoc = { path = "../../utoipa-rapidoc", features = ["axum"] } | ||
utoipa-scalar = { path = "../../utoipa-scalar", features = ["axum"] } | ||
serde = { version = "1.0", features = ["derive"] } | ||
serde_json = "1.0" | ||
env_logger = "0.11" | ||
log = "0.4" | ||
|
||
[workspace] |
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.