diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/routers/account.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/routers/account.rs b/src/routers/account.rs index 3159db6..51ce911 100644 --- a/src/routers/account.rs +++ b/src/routers/account.rs | |||
| @@ -29,6 +29,7 @@ async fn username_exists(username: &str, db: &DatabaseConnection) -> Result<bool | |||
| 29 | #[derive(Serialize, ToSchema)] | 29 | #[derive(Serialize, ToSchema)] |
| 30 | #[schema(description = "Authorization token information")] | 30 | #[schema(description = "Authorization token information")] |
| 31 | struct Token { | 31 | struct Token { |
| 32 | #[schema(examples("eyJ0eXAiO..."))] | ||
| 32 | token: String, | 33 | token: String, |
| 33 | expired_at: DateTime<Utc>, | 34 | expired_at: DateTime<Utc>, |
| 34 | } | 35 | } |
