From dcfe6cc05dc803d900bc64040c072904fe6ebe4d Mon Sep 17 00:00:00 2001 From: Anton Voylenko Date: Tue, 14 Nov 2023 17:40:31 +0200 Subject: [PATCH] swagger: update create call spec (#260) --- lib/swagger/swagger.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/lib/swagger/swagger.yaml b/lib/swagger/swagger.yaml index f6ac37c..6595998 100644 --- a/lib/swagger/swagger.yaml +++ b/lib/swagger/swagger.yaml @@ -1,7 +1,7 @@ openapi: 3.0.0 info: - title: jambonz REST API - description: jambonz REST API + title: Jambonz REST API + description: Jambonz REST API specification contact: email: daveh@drachtio.org license: @@ -3799,7 +3799,7 @@ paths: /Accounts/{AccountSid}/Calls: post: tags: - - Accounts + - Accounts summary: create a call operationId: createCall parameters: @@ -3858,6 +3858,10 @@ paths: type: object description: The customer SIP headers to associate with the call example: {"X-Custom-Header": "Hello"} + sipRequestWithinDialogHook: + type: string + description: The sip indialog hook to receive session messages + example: '/customHook' responses: 201: description: call successfully created