From c3ffb4c52d2b6b6979b785e3271434c55ff2e5c4 Mon Sep 17 00:00:00 2001 From: naskya Date: Sat, 30 Sep 2023 19:02:28 +0900 Subject: [PATCH] chore: add a description of an API parameter --- packages/backend/src/server/api/endpoints/notes/search.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/backend/src/server/api/endpoints/notes/search.ts b/packages/backend/src/server/api/endpoints/notes/search.ts index ca64017fa4..6247bd6526 100644 --- a/packages/backend/src/server/api/endpoints/notes/search.ts +++ b/packages/backend/src/server/api/endpoints/notes/search.ts @@ -62,6 +62,7 @@ export const paramDef = { type: "string", default: "chronological", nullable: true, + description: "Either 'chronological' or 'relevancy'", }, }, required: ["query"],