From fe6ae6d8d3eababe9c269e603fbcbd980349e41d Mon Sep 17 00:00:00 2001 From: Aldino Kemal Date: Sat, 30 Apr 2022 04:50:08 +0700 Subject: [PATCH] chore: update docs (#8) --- docs/openapi.yaml | 14 +++++++++++++- readme.md | 2 +- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/docs/openapi.yaml b/docs/openapi.yaml index adaf371..722fa9f 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 dda5b6d..31e1205 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 | |---------|-------------------------|--------|------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|