improv: applying Gemini's suggestions

This commit is contained in:
Elias Soares
2026-04-11 20:41:08 -03:00
parent 32a2834bf3
commit e2043c14f2

View File

@@ -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":