From e2043c14f2eb23e0ebcd51a472dd07988d1b8188 Mon Sep 17 00:00:00 2001 From: Elias Soares Date: Sat, 11 Apr 2026 20:41:08 -0300 Subject: [PATCH] improv: applying Gemini's suggestions --- apps/server/etapi.openapi.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/apps/server/etapi.openapi.yaml b/apps/server/etapi.openapi.yaml index 882c069941..99e5a98c70 100644 --- a/apps/server/etapi.openapi.yaml +++ b/apps/server/etapi.openapi.yaml @@ -870,7 +870,8 @@ paths: $ref: "#/components/schemas/Error" /calendar/months/{month}: get: - description: returns a month note for a given month. Gets created if doesn't exist. + summary: Get a month note + description: Returns a month note for a given month (format YYYY-MM, e.g., 2022-02). The note is created if it doesn't exist. operationId: getMonthNote parameters: - name: month @@ -895,7 +896,8 @@ paths: $ref: "#/components/schemas/Error" /calendar/years/{year}: get: - description: returns a year note for a given year. Gets created if doesn't exist. + summary: Get a year note + description: Returns a year note for a given year (format YYYY, e.g., 2022). The note is created if it doesn't exist. operationId: getYearNote parameters: - name: year @@ -903,7 +905,7 @@ paths: required: true schema: type: string - pattern: "[0-9]{4}" + pattern: "^[0-9]{4}$" example: "2022" responses: "200":