aboutsummaryrefslogtreecommitdiff
path: root/src/api.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/api.rs')
-rw-r--r--src/api.rs7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/api.rs b/src/api.rs
index 797b16a..eb77237 100644
--- a/src/api.rs
+++ b/src/api.rs
@@ -7,7 +7,8 @@ use crate::ErrorResponse;
7 7
8pub mod tags { 8pub mod tags {
9 pub const ACCOUNT: &str = "Account"; 9 pub const ACCOUNT: &str = "Account";
10 pub const QUEUE_MANAGEMENT: &str = "Queue management"; 10 pub const QUEUE: &str = "Queue";
11 pub const QUEUE_ACCESS: &str = "Queue access";
11} 12}
12 13
13struct AuthModifier; 14struct AuthModifier;
@@ -50,7 +51,9 @@ impl Modify for AuthModifier {
50 (url = "https://очередь.псж.онлайн/api/v1/", description = "Production server"), 51 (url = "https://очередь.псж.онлайн/api/v1/", description = "Production server"),
51 ), 52 ),
52 tags( 53 tags(
53 (name=tags::ACCOUNT, description="Account management methods") 54 (name=tags::ACCOUNT, description="Account management methods"),
55 (name=tags::QUEUE, description="Queue management methods"),
56 (name=tags::QUEUE_ACCESS, description="Queue access management methods")
54 ), 57 ),
55 components( 58 components(
56 schemas(ErrorResponse) 59 schemas(ErrorResponse)