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 openapi: 3.0.0
info: info:
title: WhatsApp API MultiDevice title: WhatsApp API MultiDevice
version: 3.2.2
version: 3.3.0
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
tags: tags:
- name: auth
- name: app
description: Initial Connection to Whatsapp server description: Initial Connection to Whatsapp server
- name: user - name: user
description: Getting information description: Getting information
@ -15,9 +15,9 @@ tags:
paths: paths:
/app/login: /app/login:
get: get:
operationId: authLogin
operationId: appLogin
tags: tags:
- auth
- app
summary: Login to whatsapp server summary: Login to whatsapp server
responses: responses:
'200': '200':
@ -54,9 +54,9 @@ paths:
$ref: '#/components/schemas/ErrorInternalServer' $ref: '#/components/schemas/ErrorInternalServer'
/app/logout: /app/logout:
get: get:
operationId: authLogout
operationId: appLogout
tags: tags:
- auth
- app
summary: Remove database and logout summary: Remove database and logout
responses: responses:
'200': '200':
@ -90,9 +90,9 @@ paths:
$ref: '#/components/schemas/ErrorInternalServer' $ref: '#/components/schemas/ErrorInternalServer'
/app/reconnect: /app/reconnect:
get: get:
operationId: authReconnect
operationId: appReconnect
tags: tags:
- auth
- app
summary: Reconnecting to whatsapp server summary: Reconnecting to whatsapp server
responses: responses:
'200': '200':

Loading…
Cancel
Save