@vivocha/bot-sdk
Advanced tools
Comparing version 2.7.5 to 2.7.6
@@ -18,15 +18,18 @@ "use strict"; | ||
this.setInfo({ | ||
"parameters": [ | ||
parameters: [ | ||
{ | ||
"in": "body", | ||
"schema": { "$ref": "schemas/bot_request" } | ||
in: 'body', | ||
name: 'body', | ||
description: 'the BotRequest body', | ||
schema: { $ref: 'schemas/bot_request' } | ||
} | ||
], | ||
"responses": { | ||
"200": { | ||
"schema": { | ||
"$ref": "schemas/bot_response" | ||
responses: { | ||
'200': { | ||
description: 'Sending a message to bot was successful, a BotResponse is returned', | ||
schema: { | ||
$ref: 'schemas/bot_response' | ||
} | ||
}, | ||
"default": { "$ref": "#/responses/defaultError" } | ||
default: { $ref: '#/responses/defaultError' } | ||
} | ||
@@ -66,6 +69,12 @@ }); | ||
}); | ||
delete this.parameters; | ||
if (this.parameters) { | ||
this.parameters = { | ||
id: this.parameters.id | ||
}; | ||
} | ||
/* | ||
if (this.responses) { | ||
delete this.responses.notFound; | ||
delete this.responses.notFound; | ||
} | ||
*/ | ||
if (this.definitions) { | ||
@@ -72,0 +81,0 @@ delete this.definitions.metadata; |
{ | ||
"name": "@vivocha/bot-sdk", | ||
"version": "2.7.5", | ||
"version": "2.7.6", | ||
"description": "TypeScript / JavaScript SDK to create Vivocha Bot Agents and Filters", | ||
@@ -31,3 +31,3 @@ "main": "dist/index.js", | ||
], | ||
"author": "Vivocha Development Team <dev@vivocha.com> (http://www.vivocha.com/)", | ||
"author": "Vivocha Development Team <dev@vivocha.com> (https://www.vivocha.com)", | ||
"license": "MIT", | ||
@@ -56,2 +56,3 @@ "devDependencies": { | ||
"semantic-release": "^15.10.8", | ||
"swagger-parser": "^6.0.2", | ||
"typescript": "^3.1.6" | ||
@@ -68,3 +69,3 @@ }, | ||
"@vivocha/public-entities": "^6.4.22", | ||
"arrest": "^7.2.0", | ||
"arrest": "^7.4.0", | ||
"lodash": "^4.17.11", | ||
@@ -71,0 +72,0 @@ "node-wit": "^5.0.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
107177
415
23
Updatedarrest@^7.4.0