swagger: fixed invalid specification (#5485)
Currently, the swagger spec doesn't follow the Swagger 2.0 specification. So, I facing 4 errors when trying generate the Golang client for chatwoot. Due to the spec, the binary field should use format: binary beside type: string Signed-off-by: Giau. Tran Minh <hello@giautm.dev> Co-authored-by: Sojan Jose <sojan@pepalo.com>
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
type: object
|
||||
allOf:
|
||||
- $ref: '#/definitions/generic_id'
|
||||
- $ref: '#/definitions/conversation'
|
||||
- $ref: '../contact/conversation.yml'
|
||||
|
||||
@@ -2,5 +2,3 @@ type: object
|
||||
properties:
|
||||
source_id:
|
||||
type: number
|
||||
sender:
|
||||
type: object
|
||||
|
||||
Reference in New Issue
Block a user