onasty/api/components/schemas/Note.yml (view raw)
Oleksandr Smirnov
Oleksandr Smirnov
olexsmir@gmail.com api: add openapi docs (#181)..., 9 months ago
olexsmir@gmail.com api: add openapi docs (#181)..., 9 months ago
| 1 | type: object |
| 2 | required: |
| 3 | - content |
| 4 | - read_at |
| 5 | - keep_before_expiration |
| 6 | - created_at |
| 7 | - expires_at |
| 8 | properties: |
| 9 | content: |
| 10 | type: string |
| 11 | example: note content |
| 12 | read_at: |
| 13 | type: string |
| 14 | format: date-time |
| 15 | example: 2025-09-05T16:30:00Z |
| 16 | keep_before_expiration: |
| 17 | type: boolean |
| 18 | created_at: |
| 19 | type: string |
| 20 | format: date-time |
| 21 | example: 2025-09-05T16:30:00Z |
| 22 | expires_at: |
| 23 | type: string |
| 24 | format: date-time |
| 25 | example: 2025-09-05T16:30:00Z |