summaryrefslogtreecommitdiff
path: root/src/server/api/openapi
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/api/openapi')
-rw-r--r--src/server/api/openapi/schemas.ts33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/server/api/openapi/schemas.ts b/src/server/api/openapi/schemas.ts
index cca789bf7a..127a7939df 100644
--- a/src/server/api/openapi/schemas.ts
+++ b/src/server/api/openapi/schemas.ts
@@ -119,6 +119,39 @@ export const schemas = {
required: ['id', 'createdAt', 'title']
},
+ MessagingMessage: {
+ type: 'object',
+ properties: {
+ id: {
+ type: 'string',
+ format: 'id',
+ description: 'The unique identifier for this MessagingMessage.',
+ example: 'xxxxxxxxxxxxxxxxxxxxxxxx',
+ },
+ createdAt: {
+ type: 'string',
+ format: 'date-time',
+ description: 'The date that the MessagingMessage was created.'
+ },
+ text: {
+ type: 'string',
+ nullable: true
+ },
+ file: {
+ type: 'DriveFile',
+ nullable: true
+ },
+ recipientId: {
+ type: 'string',
+ format: 'id',
+ },
+ recipient: {
+ $ref: '#/components/schemas/User'
+ },
+ },
+ required: ['id', 'createdAt']
+ },
+
Note: {
type: 'object',
properties: {