Skip to content

Commit 2c672d3

Browse files
OAS Update
1 parent d0fe55a commit 2c672d3

File tree

1 file changed

+46
-4
lines changed

1 file changed

+46
-4
lines changed

services/mongodb-flex/v1/mongodb-flex.json

Lines changed: 46 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -359,8 +359,29 @@
359359
"type": "integer"
360360
},
361361
"status": {
362-
"example": "RUNNING",
363-
"type": "string"
362+
"description": "The current status of the instance.",
363+
"enum": [
364+
"READY",
365+
"PENDING",
366+
"PROCESSING",
367+
"FAILED",
368+
"UNKNOWN"
369+
],
370+
"type": "string",
371+
"x-enum-descriptions": [
372+
"defines status for a ready instance",
373+
"defines status for a pending instance",
374+
"defines status when instance is built up or changes will be applied",
375+
"defines status when instance is unhealthy and maybe not or partly not usable",
376+
"defines status when it can not be verified from instance"
377+
],
378+
"x-enum-varnames": [
379+
"READY",
380+
"PENDING",
381+
"PROCESSING",
382+
"FAILED",
383+
"UNKNOWN"
384+
]
364385
},
365386
"storage": {
366387
"$ref": "#/components/schemas/Storage"
@@ -919,8 +940,29 @@
919940
"type": "string"
920941
},
921942
"status": {
922-
"example": "RUNNING",
923-
"type": "string"
943+
"description": "The current status of the instance.",
944+
"enum": [
945+
"READY",
946+
"PENDING",
947+
"PROCESSING",
948+
"FAILED",
949+
"UNKNOWN"
950+
],
951+
"type": "string",
952+
"x-enum-descriptions": [
953+
"defines status for a ready instance",
954+
"defines status for a pending instance",
955+
"defines status when instance is built up or changes will be applied",
956+
"defines status when instance is unhealthy and maybe not or partly not usable",
957+
"defines status when it can not be verified from instance"
958+
],
959+
"x-enum-varnames": [
960+
"READY",
961+
"PENDING",
962+
"PROCESSING",
963+
"FAILED",
964+
"UNKNOWN"
965+
]
924966
}
925967
},
926968
"type": "object"

0 commit comments

Comments
 (0)