Skip to content

Commit 3c3d70d

Browse files
OAS Update
1 parent c41410f commit 3c3d70d

File tree

1 file changed

+35
-84
lines changed

1 file changed

+35
-84
lines changed

services/mongodb-flex/v2/mongodb-flex.json

Lines changed: 35 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -285,36 +285,6 @@
285285
},
286286
"type": "object"
287287
},
288-
"HandlersInfraFlavor": {
289-
"properties": {
290-
"categories": {
291-
"example": [
292-
"Replica"
293-
],
294-
"items": {
295-
"type": "string"
296-
},
297-
"type": "array"
298-
},
299-
"cpu": {
300-
"example": 1,
301-
"type": "integer"
302-
},
303-
"description": {
304-
"example": "Small, Compute optimized",
305-
"type": "string"
306-
},
307-
"id": {
308-
"example": "1.1",
309-
"type": "string"
310-
},
311-
"memory": {
312-
"example": 1,
313-
"type": "integer"
314-
}
315-
},
316-
"type": "object"
317-
},
318288
"Host": {
319289
"properties": {
320290
"hostMetrics": {
@@ -430,7 +400,7 @@
430400
"properties": {
431401
"flavors": {
432402
"items": {
433-
"$ref": "#/components/schemas/HandlersInfraFlavor"
403+
"$ref": "#/components/schemas/instance.Flavor"
434404
},
435405
"type": "array"
436406
}
@@ -885,57 +855,6 @@
885855
},
886856
"type": "object"
887857
},
888-
"handlers_infra.Flavor": {
889-
"properties": {
890-
"categories": {
891-
"example": [
892-
"Replica"
893-
],
894-
"items": {
895-
"type": "string"
896-
},
897-
"type": "array"
898-
},
899-
"cpu": {
900-
"example": 1,
901-
"format": "int32",
902-
"type": "integer"
903-
},
904-
"description": {
905-
"example": "Small, Compute optimized",
906-
"type": "string"
907-
},
908-
"id": {
909-
"example": "1.1",
910-
"type": "string"
911-
},
912-
"memory": {
913-
"example": 1,
914-
"format": "int32",
915-
"type": "integer"
916-
}
917-
},
918-
"type": "object"
919-
},
920-
"handlers_infra.GetFlavorsResponse": {
921-
"properties": {
922-
"flavors": {
923-
"items": {
924-
"$ref": "#/components/schemas/handlers_infra.Flavor"
925-
},
926-
"type": "array"
927-
}
928-
},
929-
"type": "object"
930-
},
931-
"handlers_instances.GetInstanceResponse": {
932-
"properties": {
933-
"item": {
934-
"$ref": "#/components/schemas/Instance"
935-
}
936-
},
937-
"type": "object"
938-
},
939858
"handlers_instances.SlowQueriesResponse": {
940859
"properties": {
941860
"slowQueries": {
@@ -967,6 +886,38 @@
967886
},
968887
"type": "object"
969888
},
889+
"instance.Flavor": {
890+
"properties": {
891+
"categories": {
892+
"example": [
893+
"Replica"
894+
],
895+
"items": {
896+
"type": "string"
897+
},
898+
"type": "array"
899+
},
900+
"cpu": {
901+
"example": 1,
902+
"format": "int32",
903+
"type": "integer"
904+
},
905+
"description": {
906+
"example": "Small, Compute optimized",
907+
"type": "string"
908+
},
909+
"id": {
910+
"example": "1.1",
911+
"type": "string"
912+
},
913+
"memory": {
914+
"example": 1,
915+
"format": "int32",
916+
"type": "integer"
917+
}
918+
},
919+
"type": "object"
920+
},
970921
"instance.ListInstance": {
971922
"properties": {
972923
"id": {
@@ -1133,7 +1084,7 @@
11331084
"content": {
11341085
"application/json": {
11351086
"schema": {
1136-
"$ref": "#/components/schemas/handlers_infra.GetFlavorsResponse"
1087+
"$ref": "#/components/schemas/ListFlavorsResponse"
11371088
}
11381089
}
11391090
},
@@ -1550,7 +1501,7 @@
15501501
"content": {
15511502
"application/json": {
15521503
"schema": {
1553-
"$ref": "#/components/schemas/handlers_instances.GetInstanceResponse"
1504+
"$ref": "#/components/schemas/GetInstanceResponse"
15541505
}
15551506
}
15561507
},

0 commit comments

Comments
 (0)