aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend/scripts
diff options
context:
space:
mode:
authorChristian Fehmer <[email protected]>2024-08-12 14:08:17 +0200
committerGitHub <[email protected]>2024-08-12 14:08:17 +0200
commitc6e8f413fc6f01621a0ab38802cc8cd41f9de4c0 (patch)
treef852f21d6fa88b32879b58e747bb717224ceaaae /backend/scripts
parentd5b243cf5707558a9c86cd85d12cb7eb1e2c2998 (diff)
downloadmonkeytype-c6e8f413fc6f01621a0ab38802cc8cd41f9de4c0.tar.gz
monkeytype-c6e8f413fc6f01621a0ab38802cc8cd41f9de4c0.zip
impr: use tsrest for leaderboard endpoints (@fehmer) (#5717)
!nuf
Diffstat (limited to 'backend/scripts')
-rw-r--r--backend/scripts/openapi.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/backend/scripts/openapi.ts b/backend/scripts/openapi.ts
index b5140de6c..38a1e327c 100644
--- a/backend/scripts/openapi.ts
+++ b/backend/scripts/openapi.ts
@@ -72,6 +72,11 @@ export function getOpenApi(): OpenAPIObject {
"x-displayName": "public",
},
{
+ name: "leaderboards",
+ description: "All-time and daily leaderboards of the fastest typers.",
+ "x-displayName": "Leaderboards",
+ },
+ {
name: "psas",
description: "Public service announcements.",
"x-displayName": "PSAs",