From 2241713a809f7508217ed705d3987712bc2f2e5f Mon Sep 17 00:00:00 2001 From: Marko Milovanov <39060482+makaveli1313@users.noreply.github.com> Date: Fri, 16 Jul 2021 02:33:36 +0200 Subject: [PATCH] Updating connector before certification (#964) * feat: LAWLIFT connector * fix: changes request by MS * connector fixes --- .../LAWLIFT/apiDefinition.swagger.json | 66 +++++++++++++------ 1 file changed, 46 insertions(+), 20 deletions(-) diff --git a/certified-connectors/LAWLIFT/apiDefinition.swagger.json b/certified-connectors/LAWLIFT/apiDefinition.swagger.json index 0f1ba0699..e03b6dfb7 100644 --- a/certified-connectors/LAWLIFT/apiDefinition.swagger.json +++ b/certified-connectors/LAWLIFT/apiDefinition.swagger.json @@ -85,18 +85,31 @@ "$ref": "#/definitions/Documents" } }, - "answersJson": { - "format": "byte", - "type": "string", - "title": "Selected Answers JSON", - "description": "Content of the selected answers JSON file.", + "data": { + "type": "object", + "title": "Custom Data Object", + "description": "Data object containing custom data of the template.", "x-ms-visibility": "advanced" }, - "answersCsv": { + "dataJSON": { "format": "byte", "type": "string", - "title": "Selected Answers CSV", - "description": "Content of the selected answers CSV file.", + "title": "Custom Data JSON file", + "description": "Content of the custom data JSON file.", + "x-ms-visibility": "advanced" + }, + "answersJSON": { + "format": "byte", + "type": "string", + "title": "Answers JSON file", + "description": "Content of the answers JSON file.", + "x-ms-visibility": "advanced" + }, + "answersCSV": { + "format": "byte", + "type": "string", + "title": "Answers CSV file", + "description": "Content of the answers CSV file.", "x-ms-visibility": "advanced" }, "folderPath": { @@ -161,7 +174,7 @@ "API Key": [] } ], - "summary": "When user exports the files", + "summary": "When documents are exported", "operationId": "LawliftExportTrigger", "description": "Triggered when user exports the files", "x-ms-trigger": "single", @@ -265,18 +278,31 @@ "title": "Plain Text Email Message", "x-ms-visibility": "advanced" }, - "answersJson": { - "format": "byte", - "type": "string", - "title": "Selected Answers JSON", - "description": "Content of the selected answers JSON file.", + "data": { + "type": "object", + "title": "Custom Data Object", + "description": "Data object containing custom data of the template.", "x-ms-visibility": "advanced" }, - "answersCsv": { + "dataJSON": { "format": "byte", "type": "string", - "title": "Selected Answers CSV", - "description": "Content of the selected answers CSV file.", + "title": "Custom Data JSON file", + "description": "Content of the custom data JSON file.", + "x-ms-visibility": "advanced" + }, + "answersJSON": { + "format": "byte", + "type": "string", + "title": "Answers JSON file", + "description": "Content of the answers JSON file.", + "x-ms-visibility": "advanced" + }, + "answersCSV": { + "format": "byte", + "type": "string", + "title": "Answers CSV file", + "description": "Content of the answers CSV file.", "x-ms-visibility": "advanced" }, "folderPath": { @@ -341,9 +367,9 @@ "API Key": [] } ], - "summary": "When user completes questionnaire", + "summary": "When a questionnaire is submitted", "operationId": "LawliftNotificationTrigger", - "description": "Triggered when user completes questionnaire.", + "description": "Triggered when user completes the questionnaire.", "x-ms-trigger": "single", "parameters": [ { @@ -459,7 +485,7 @@ }, "TemplateMetadata": { "type": "object", - "description": "Publication metadata.", + "description": "Template metadata.", "x-ms-visibility": "advanced", "properties": { "name": {