Host OpenAPI Redoc page in dev mode

This commit is contained in:
Martin Berg Alstad
2024-06-16 01:24:29 +02:00
parent ee4523207b
commit 4d953178e3
4 changed files with 51 additions and 1 deletions

20
Cargo.lock generated
View File

@ -152,6 +152,12 @@ version = "0.3.30"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d"
[[package]]
name = "futures-sink"
version = "0.3.30"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9fb8e00e87438d937621c1c6269e53f536c14d3fbd6a042bb24879e57d474fb5"
[[package]]
name = "futures-task"
version = "0.3.30"
@ -525,6 +531,7 @@ dependencies = [
"nom",
"serde",
"tokio",
"tokio-util",
"tower-http",
"tracing",
"tracing-subscriber",
@ -606,6 +613,19 @@ dependencies = [
"syn",
]
[[package]]
name = "tokio-util"
version = "0.7.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9cf6b47b3771c49ac75ad09a6162f53ad4b8088b76ac60e8ec1455b31a189fe1"
dependencies = [
"bytes",
"futures-core",
"futures-sink",
"pin-project-lite",
"tokio",
]
[[package]]
name = "tower"
version = "0.4.13"