summaryrefslogtreecommitdiff
path: root/server/Cargo.toml
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@spawned.biz>2024-12-29 22:40:12 +0100
committerJoel Klinghed <the_jk@spawned.biz>2024-12-29 22:40:12 +0100
commit776406684bdc591a4c97b58b8d28f689881c285e (patch)
tree7551fcc2d10eb4d75314b2ad93bce6c328481413 /server/Cargo.toml
parent7bc8e8b7262a3f3abe3222b3b434838e85cdb2bb (diff)
Add openapi generation using utoipa
Diffstat (limited to 'server/Cargo.toml')
-rw-r--r--server/Cargo.toml2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/Cargo.toml b/server/Cargo.toml
index fc8cb6f..9348d86 100644
--- a/server/Cargo.toml
+++ b/server/Cargo.toml
@@ -10,3 +10,5 @@ rocket_db_pools = { version = "0.2.0", features = ["sqlx_mysql"] }
serde = { version = "1.0", features = ["derive"] }
sqlx = { version = "0.7.0", default-features = false, features = ["macros", "migrate"] }
time = "0.3.34"
+utoipa = { version = "5", features = ["rocket_extras"] }
+utoipa-swagger-ui = { version = "8", features = ["rocket", "vendored"], default-features = false }