Browse Source

chore: update openapi

pull/48/head
Aldino Kemal 3 years ago
parent
commit
d36e9e4f0f
  1. 18
      docs/openapi.yaml

18
docs/openapi.yaml

@ -1,7 +1,7 @@
openapi: 3.0.0 openapi: 3.0.0
info: info:
title: WhatsApp API MultiDevice title: WhatsApp API MultiDevice
version: 3.2.1
version: 3.2.2
description: This API is used for sending whatsapp via API description: This API is used for sending whatsapp via API
servers: servers:
- url: http://localhost:3000 - url: http://localhost:3000
@ -293,7 +293,7 @@ paths:
type: object type: object
properties: properties:
phone: phone:
type: integer
type: string
example: '6289685028129@s.whatsapp.net' example: '6289685028129@s.whatsapp.net'
description: Phone number with country code description: Phone number with country code
message: message:
@ -332,7 +332,7 @@ paths:
type: object type: object
properties: properties:
phone: phone:
type: integer
type: string
example: '6289685028129@s.whatsapp.net' example: '6289685028129@s.whatsapp.net'
description: Phone number with country code description: Phone number with country code
caption: caption:
@ -383,7 +383,7 @@ paths:
type: object type: object
properties: properties:
phone: phone:
type: integer
type: string
example: '6289685028129@s.whatsapp.net' example: '6289685028129@s.whatsapp.net'
description: Phone number with country code description: Phone number with country code
caption: caption:
@ -426,7 +426,7 @@ paths:
type: object type: object
properties: properties:
phone: phone:
type: integer
type: string
example: '6289685028129@s.whatsapp.net' example: '6289685028129@s.whatsapp.net'
description: Phone number with country code description: Phone number with country code
caption: caption:
@ -477,7 +477,7 @@ paths:
type: object type: object
properties: properties:
phone: phone:
type: integer
type: string
example: '6289685024051@s.whatsapp.net' example: '6289685024051@s.whatsapp.net'
description: Phone number with country code description: Phone number with country code
contact_name: contact_name:
@ -520,7 +520,7 @@ paths:
type: object type: object
properties: properties:
phone: phone:
type: integer
type: string
example: '6289685024051@s.whatsapp.net' example: '6289685024051@s.whatsapp.net'
description: Phone number with country code description: Phone number with country code
link: link:
@ -563,7 +563,7 @@ paths:
type: object type: object
properties: properties:
phone: phone:
type: integer
type: string
example: '6289685024051@s.whatsapp.net' example: '6289685024051@s.whatsapp.net'
description: Phone number with country code description: Phone number with country code
latitude: latitude:
@ -606,7 +606,7 @@ paths:
type: object type: object
properties: properties:
phone: phone:
type: integer
type: string
example: '6289685024051@s.whatsapp.net' example: '6289685024051@s.whatsapp.net'
description: Phone number with country code description: Phone number with country code
message_id: message_id:

Loading…
Cancel
Save