feat: Update swagger to openapi 3.0.4, update request payloads with examples (#11374)

This commit is contained in:
Daniel Jimenez
2025-05-22 19:26:44 +12:00
committed by GitHub
parent 8697a30dc5
commit 4b417ce9e7
189 changed files with 10098 additions and 5847 deletions

View File

@@ -1,5 +1,5 @@
type: object
properties:
properties:
id:
type: integer
description: Id of the contact
@@ -14,4 +14,4 @@ properties:
description: Email of the contact
pubsub_token:
type: string
description: The token to be used to connect to chatwoot websocket
description: The token to be used to connect to chatwoot websocket

View File

@@ -9,7 +9,7 @@ properties:
messages:
type: array
items:
$ref: '#/definitions/message'
$ref: '#/components/schemas/message'
description: Messages in the conversation
contact:
type: object