Chore: User Friendly URLs on the swagger docs (#590)

Made the swagger documentation urls short and readable.
This commit is contained in:
Sony Mathew
2020-03-04 00:41:21 +05:30
committed by GitHub
parent f76ba889dd
commit fabc6c87af
11 changed files with 56 additions and 17 deletions

View File

@@ -1,5 +1,7 @@
get:
tags: [Contact]
tags:
- Contact
operationId: contactConversations
summary: Conversations
parameters:
- name: id

View File

@@ -1,5 +1,7 @@
get:
tags: [Contact]
tags:
- Contact
operationId: contactDetails
summary: Show Contact
parameters:
- name: id
@@ -18,7 +20,9 @@ get:
description: Access denied
put:
tags: [Contact]
tags:
- Contact
operationId: contactUpdate
summary: Update Contact
parameters:
- name: id

View File

@@ -1,5 +1,7 @@
get:
tags: [Contact]
tags:
- Contact
operationId: contactList
description: Listing all the contacts with pagination
summary: List Contacts
parameters:
@@ -17,7 +19,9 @@ get:
$ref: '#/definitions/bad_request_error'
post:
tags: [Contact]
tags:
- Contact
operationId: contactCreate
description: Create New Contact
parameters:
- name: data