Skip to content

Commit 6fe61e7

Browse files
authored
matched enum values for service status (#344)
1 parent b3d3cba commit 6fe61e7

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

openapi-spec/crapi-openapi-spec.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3390,7 +3390,7 @@
33903390
"type" : "string"
33913391
},
33923392
"status" : {
3393-
"enum" : [ "Pending", "Finished" ],
3393+
"enum" : [ "pending", "completed", "cancelled", "inprogress" ],
33943394
"type" : "string"
33953395
},
33963396
"created_on" : {

services/chatbot/src/resources/crapi-openapi-spec.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4473,8 +4473,10 @@
44734473
},
44744474
"status": {
44754475
"enum": [
4476-
"Pending",
4477-
"Finished"
4476+
"pending",
4477+
"completed",
4478+
"cancelled",
4479+
"inprogress"
44784480
],
44794481
"type": "string"
44804482
},
@@ -5315,8 +5317,10 @@
53155317
},
53165318
"status": {
53175319
"enum": [
5318-
"Pending",
5319-
"Finished"
5320+
"pending",
5321+
"completed",
5322+
"cancelled",
5323+
"inprogress"
53205324
],
53215325
"type": "string"
53225326
},

0 commit comments

Comments
 (0)