Browse Source

chore: update openapi

pull/48/head
Aldino Kemal 3 years ago
parent
commit
46f0616f06
  1. 16
      docs/openapi.yaml

16
docs/openapi.yaml

@ -1,12 +1,12 @@
openapi: 3.0.0
info:
title: WhatsApp API MultiDevice
version: 3.2.2
version: 3.3.0
description: This API is used for sending whatsapp via API
servers:
- url: http://localhost:3000
tags:
- name: auth
- name: app
description: Initial Connection to Whatsapp server
- name: user
description: Getting information
@ -15,9 +15,9 @@ tags:
paths:
/app/login:
get:
operationId: authLogin
operationId: appLogin
tags:
- auth
- app
summary: Login to whatsapp server
responses:
'200':
@ -54,9 +54,9 @@ paths:
$ref: '#/components/schemas/ErrorInternalServer'
/app/logout:
get:
operationId: authLogout
operationId: appLogout
tags:
- auth
- app
summary: Remove database and logout
responses:
'200':
@ -90,9 +90,9 @@ paths:
$ref: '#/components/schemas/ErrorInternalServer'
/app/reconnect:
get:
operationId: authReconnect
operationId: appReconnect
tags:
- auth
- app
summary: Reconnecting to whatsapp server
responses:
'200':

Loading…
Cancel
Save