Skip to content

GOWA - WhatsApp REST API with support for UI, Multi Account, Webhooks, and MCP, and Chatwoot. Built with Golang for efficient memory use.

chore: update docs (#8)

Aldino Kemalfe6ae6d8d3ea
diff --git a/docs/openapi.yaml b/docs/openapi.yaml
index adaf3719..722fa9f8 100644
--- a/docs/openapi.yaml
+++ b/docs/openapi.yaml
@@ -1,7 +1,7 @@
openapi: 3.0.0
info:
title: WhatsApp API MultiDevice
- version: 2.1.1
+ version: 2.2.1
description: This API is used for sending whatsapp via API
servers:
- url: http://localhost:3000
@@ -412,6 +412,10 @@ paths:
message:
type: string
example: selamat malam
+ type:
+ type: string
+ example: 'user'
+ description: 'user/group | default: user'
responses:
'200':
description: OK
@@ -508,6 +512,10 @@ paths:
image:
type: string
format: binary
+ type:
+ type: string
+ example: 'user'
+ description: 'user/group | default: user'
responses:
'200':
description: OK
@@ -604,6 +612,10 @@ paths:
file:
type: string
format: binary
+ type:
+ type: string
+ example: 'user'
+ description: 'user/group | default: user'
responses:
'200':
description: OK
diff --git a/readme.md b/readme.md
index dda5b6d9..31e12056 100644
--- a/readme.md
+++ b/readme.md
@@ -35,7 +35,7 @@
You can fork or edit this source code !
### Current API
-`You can check docs/openapi.yml for detail API`
+You can check [docs/openapi.yml](./docs/openapi.yaml) for detail API
| Feature | Menu | Method | URL | Payload |
|---------|-------------------------|--------|------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|