From 955598dce9aeb5626654c72b0ef94850123fa8ac Mon Sep 17 00:00:00 2001 From: Tolmachev Igor Date: Sun, 14 Sep 2025 23:27:25 +0300 Subject: Add openapi specs and docs --- Cargo.toml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 3dc810d..4c8f11f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "itmo_queue_server" -version = "0.1.0" +version = "1.0.0" edition = "2024" publish = false @@ -18,9 +18,12 @@ jsonwebtoken = "9.3.1" migration = { version = "0.1.0", path = "migration" } sea-orm = { version = "1.1.14", features = ["sqlx-postgres", "runtime-tokio-rustls"] } serde = { version = "1.0.219", features = ["derive"] } -serde_json = "1.0.143" +serde_json = { version = "1.0.143", features = ["preserve_order"] } tokio = { version = "1.47.1", features = ["macros", "rt-multi-thread"] } tower = "0.5.2" tower-http = { version = "0.6.6", features = ["trace"] } tracing = "0.1.41" tracing-subscriber = "0.3.19" +utoipa = { version = "5.4.0", features = ["axum_extras", "chrono", "preserve_order", "preserve_path_order"] } +utoipa-axum = "0.2.0" +utoipa-scalar = { version = "0.3.0", features = ["axum"] } -- cgit v1.2.3