From 2e25643021f9a557c1d6a3a11746ef087ed95ce9 Mon Sep 17 00:00:00 2001 From: Dave Horton Date: Sat, 8 Feb 2020 14:25:14 -0500 Subject: [PATCH] minor cleanup --- lib/swagger/swagger.yaml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/lib/swagger/swagger.yaml b/lib/swagger/swagger.yaml index 10fab59..0bd61ff 100644 --- a/lib/swagger/swagger.yaml +++ b/lib/swagger/swagger.yaml @@ -1173,6 +1173,7 @@ paths: $ref: '#/components/schemas/GeneralError' get: summary: retrieve a call + operationId: getCall responses: 200: description: call found @@ -1190,6 +1191,7 @@ paths: $ref: '#/components/schemas/GeneralError' post: summary: update a call + operationId: updateCall requestBody: content: application/json: @@ -1211,12 +1213,8 @@ paths: - pause - resume responses: - 200: - description: call updated - content: - application/json: - schema: - $ref: '#/components/schemas/Call' + 202: + description: Accepted 400: description: bad request 404: @@ -1270,7 +1268,7 @@ components: msg: type: string example: - msg: cannot delete service provider with active accounts + msg: specific error detail will be provided here ServiceProvider: type: object properties: