hive-c0re: wire up openapi spec + swagger ui (#2872)
This commit is contained in:
parent
e9a1764f42
commit
44651544a8
7 changed files with 256 additions and 8 deletions
|
|
@ -112,3 +112,10 @@ matrix-sdk = { version = "0.18", default-features = false, features = [
|
|||
futures-util = "0.3"
|
||||
hmac = "0.13"
|
||||
sha2 = "0.11"
|
||||
utoipa = { version = "5", features = ["axum_extras"] }
|
||||
utoipa-axum = "0.2"
|
||||
# "vendored" bundles a pinned Swagger UI dist via utoipa-swagger-ui-vendored
|
||||
# instead of the crate's default curl-download build script — required in
|
||||
# the nix sandbox, which has no network at build time outside the
|
||||
# Cargo.lock-pinned dependency fetch.
|
||||
utoipa-swagger-ui = { version = "9", features = ["axum", "vendored"] }
|
||||
|
|
|
|||
Loading…
Reference in a new issue