Skip to content

Commit

Permalink
fix(bpmn-service): fix description missing in model but present in mi…
Browse files Browse the repository at this point in the history
…grations

GH-340
  • Loading branch information
akshatdubeysf committed Sep 21, 2021
1 parent 3e7d7c9 commit 92c212c
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 10 deletions.
11 changes: 10 additions & 1 deletion packages/core/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
9 changes: 9 additions & 0 deletions services/bpmn-service/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,9 @@
},
"inputSchema": {
"type": "object"
},
"description": {
"type": "string"
}
},
"required": [
Expand All @@ -370,6 +373,9 @@
},
"inputSchema": {
"type": "object"
},
"description": {
"type": "string"
}
},
"required": [
Expand All @@ -392,6 +398,9 @@
},
"inputSchema": {
"type": "object"
},
"description": {
"type": "string"
}
},
"additionalProperties": true,
Expand Down
30 changes: 21 additions & 9 deletions services/bpmn-service/openapi.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,8 @@ HTTPBearer
const inputBody = '{
"name": "string",
"bpmnFile": "string",
"inputSchema": {}
"inputSchema": {},
"description": "string"
}';
const headers = {
'Content-Type':'application/json',
Expand All @@ -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',
Expand Down Expand Up @@ -248,7 +250,8 @@ fetch('/workflow/{id}',
{
"name": "string",
"bpmnFile": "string",
"inputSchema": {}
"inputSchema": {},
"description": "string"
}
```

Expand Down Expand Up @@ -412,7 +415,8 @@ HTTPBearer
const inputBody = '{
"name": "string",
"bpmnFile": "string",
"inputSchema": {}
"inputSchema": {},
"description": "string"
}';
const headers = {
'Content-Type':'application/json',
Expand All @@ -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',
Expand Down Expand Up @@ -469,7 +474,8 @@ fetch('/workflow',
{
"name": "string",
"bpmnFile": "string",
"inputSchema": {}
"inputSchema": {},
"description": "string"
}
```

Expand Down Expand Up @@ -690,7 +696,8 @@ Workflow
{
"name": "string",
"bpmnFile": "string",
"inputSchema": {}
"inputSchema": {},
"description": "string"
}

```
Expand All @@ -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|

<h2 id="tocS_WorkflowDto">WorkflowDto</h2>
<!-- backwards compatibility -->
Expand All @@ -716,7 +724,8 @@ NewWorkflow
{
"name": "string",
"bpmnFile": "string",
"inputSchema": {}
"inputSchema": {},
"description": "string"
}

```
Expand All @@ -730,6 +739,7 @@ WorkflowDto
|name|string|true|none|none|
|bpmnFile|string|true|none|none|
|inputSchema|object|true|none|none|
|description|string|false|none|none|

<h2 id="tocS_WorkflowDtoPartial">WorkflowDtoPartial</h2>
<!-- backwards compatibility -->
Expand All @@ -742,7 +752,8 @@ WorkflowDto
{
"name": "string",
"bpmnFile": "string",
"inputSchema": {}
"inputSchema": {},
"description": "string"
}

```
Expand All @@ -756,6 +767,7 @@ WorkflowDtoPartial
|name|string|false|none|none|
|bpmnFile|string|false|none|none|
|inputSchema|object|false|none|none|
|description|string|false|none|none|

<h2 id="tocS_ExecuteWorkflowDto">ExecuteWorkflowDto</h2>
<!-- backwards compatibility -->
Expand Down

0 comments on commit 92c212c

Please sign in to comment.