diff --git a/packages/core/locales/en.json b/packages/core/locales/en.json index 29c213a994..12ee997a94 100644 --- a/packages/core/locales/en.json +++ b/packages/core/locales/en.json @@ -23,5 +23,14 @@ "Pubnub returned with error ! {\"name\"": "\"PubNubError\",\"status\":{\"message\":\"Missing Channel\",\"type\":\"validationError\",\"error\":true}}", "AWS SES Config missing !": "AWS SES Config missing !", "invalid input syntax for type uuid": " \"{\"to\":[{\"id\":\"14335492-38b6-2520-f1ab-b1b73aa5214c\",\"name\":\"Admin User\",\"type\":0}]}\"", - "EntityNotFound": "EntityNotFound" + "EntityNotFound": "EntityNotFound", + "Invalid Credentials": "Invalid Credentials", + "Token Invalid": "Token Invalid", + "User not found !": "User not found !", + "Required parameter token is missing!": "Required parameter token is missing!", + "Token Expired": "Token Expired", + "Not Found": "Not Found", + "WorkflowVersionNotFound": "WorkflowVersionNotFound", + "[{\"instancePath\"": "\"/valueB\",\"schemaPath\":\"#/properties/valueB/type\",\"keyword\":\"type\",\"params\":{\"type\":\"string\"},\"message\":\"must be string\"}]", + "WorkflowNotFound": "WorkflowNotFound" } \ No newline at end of file diff --git a/services/bpmn-service/openapi.json b/services/bpmn-service/openapi.json index 3bf90103c9..db0eef9842 100644 --- a/services/bpmn-service/openapi.json +++ b/services/bpmn-service/openapi.json @@ -348,6 +348,9 @@ }, "inputSchema": { "type": "object" + }, + "description": { + "type": "string" } }, "required": [ @@ -370,6 +373,9 @@ }, "inputSchema": { "type": "object" + }, + "description": { + "type": "string" } }, "required": [ @@ -392,6 +398,9 @@ }, "inputSchema": { "type": "object" + }, + "description": { + "type": "string" } }, "additionalProperties": true, diff --git a/services/bpmn-service/openapi.md b/services/bpmn-service/openapi.md index 0b50ac6492..2ac1860957 100644 --- a/services/bpmn-service/openapi.md +++ b/services/bpmn-service/openapi.md @@ -193,7 +193,8 @@ HTTPBearer const inputBody = '{ "name": "string", "bpmnFile": "string", - "inputSchema": {} + "inputSchema": {}, + "description": "string" }'; const headers = { 'Content-Type':'application/json', @@ -219,7 +220,8 @@ const fetch = require('node-fetch'); const inputBody = { "name": "string", "bpmnFile": "string", - "inputSchema": {} + "inputSchema": {}, + "description": "string" }; const headers = { 'Content-Type':'application/json', @@ -248,7 +250,8 @@ fetch('/workflow/{id}', { "name": "string", "bpmnFile": "string", - "inputSchema": {} + "inputSchema": {}, + "description": "string" } ``` @@ -412,7 +415,8 @@ HTTPBearer const inputBody = '{ "name": "string", "bpmnFile": "string", - "inputSchema": {} + "inputSchema": {}, + "description": "string" }'; const headers = { 'Content-Type':'application/json', @@ -439,7 +443,8 @@ const fetch = require('node-fetch'); const inputBody = { "name": "string", "bpmnFile": "string", - "inputSchema": {} + "inputSchema": {}, + "description": "string" }; const headers = { 'Content-Type':'application/json', @@ -469,7 +474,8 @@ fetch('/workflow', { "name": "string", "bpmnFile": "string", - "inputSchema": {} + "inputSchema": {}, + "description": "string" } ``` @@ -690,7 +696,8 @@ Workflow { "name": "string", "bpmnFile": "string", - "inputSchema": {} + "inputSchema": {}, + "description": "string" } ``` @@ -704,6 +711,7 @@ NewWorkflow |name|string|true|none|none| |bpmnFile|string|true|none|none| |inputSchema|object|true|none|none| +|description|string|false|none|none|