diff options
Diffstat (limited to 'src/api.rs')
| -rw-r--r-- | src/api.rs | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -8,7 +8,7 @@ use crate::ErrorResponse; | |||
| 8 | pub mod tags { | 8 | pub mod tags { |
| 9 | pub const ACCOUNT: &str = "Account"; | 9 | pub const ACCOUNT: &str = "Account"; |
| 10 | pub const QUEUE: &str = "Queue"; | 10 | pub const QUEUE: &str = "Queue"; |
| 11 | pub const QUEUE_ACCESS: &str = "Queue access"; | 11 | pub const INVITE_TOKEN: &str = "Invite token"; |
| 12 | } | 12 | } |
| 13 | 13 | ||
| 14 | struct AuthModifier; | 14 | struct AuthModifier; |
| @@ -53,7 +53,7 @@ impl Modify for AuthModifier { | |||
| 53 | tags( | 53 | tags( |
| 54 | (name=tags::ACCOUNT, description="Account management methods"), | 54 | (name=tags::ACCOUNT, description="Account management methods"), |
| 55 | (name=tags::QUEUE, description="Queue management methods"), | 55 | (name=tags::QUEUE, description="Queue management methods"), |
| 56 | (name=tags::QUEUE_ACCESS, description="Queue access management methods") | 56 | (name=tags::INVITE_TOKEN, description="Invite token management methods") |
| 57 | ), | 57 | ), |
| 58 | components( | 58 | components( |
| 59 | schemas(ErrorResponse) | 59 | schemas(ErrorResponse) |
