From 109f22c231e0fb270e5cd60eb9173dd962cb8544 Mon Sep 17 00:00:00 2001 From: sherl Date: Wed, 7 Jan 2026 23:04:35 +0100 Subject: [PATCH] docs: add note to link shortening endpoint swagger doc --- src/routes/linkRoutes.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/routes/linkRoutes.ts b/src/routes/linkRoutes.ts index ef0910c..6eadcba 100644 --- a/src/routes/linkRoutes.ts +++ b/src/routes/linkRoutes.ts @@ -104,9 +104,11 @@ linkRouter.get('/api/v1/link/fromWordlist', validateSchema(ls.sentenceLinkReques * post: * description: * Register a new shortened URL.
- * See linkSchema.ts for constraints. + * See linkSchema.ts for constraints.
+ * Note: This endpoint's functionality differs depending on the user info, + * which means guests will be treated differently from authenticated users. * tags: [Link] - * summary: Shorten a link + * summary: "[AUTHED?] Shorten a link" * requestBody: * required: true * content: