chore: Swagger documentation for public APIs (#2417)

This commit is contained in:
Sojan Jose
2021-06-16 00:14:09 +05:30
committed by GitHub
parent 2b9c93a1b3
commit af8223545e
22 changed files with 978 additions and 186 deletions

View File

@@ -0,0 +1,20 @@
tags:
- Contacts API
operationId: create-a-contact
summary: Create a contact
description: Create a contact
security:
- nil
parameters:
- name: data
in: body
required: true
schema:
$ref: '#/definitions/public_contact_create_update_payload'
responses:
200:
description: Success
schema:
$ref: '#/definitions/public_contact'
401:
description: Unauthorized