Skip to content

Commit 15d2f19

Browse files
OAS Update
1 parent b2bb633 commit 15d2f19

1 file changed

Lines changed: 126 additions & 0 deletions

File tree

services/rabbitmq/v1/rabbitmq.json

Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"name": "backupId",
88
"required": true,
99
"schema": {
10+
"format": "int32",
1011
"type": "integer"
1112
}
1213
},
@@ -59,6 +60,16 @@
5960
}
6061
},
6162
"description": "Internal Server Error"
63+
},
64+
"Unauthorized": {
65+
"content": {
66+
"application/json": {
67+
"schema": {
68+
"$ref": "#/components/schemas/Error"
69+
}
70+
}
71+
},
72+
"description": "Unauthorized"
6273
}
6374
},
6475
"schemas": {
@@ -72,9 +83,11 @@
7283
"type": "string"
7384
},
7485
"id": {
86+
"format": "int32",
7587
"type": "integer"
7688
},
7789
"size": {
90+
"format": "int32",
7891
"type": "integer"
7992
},
8093
"status": {
@@ -100,6 +113,7 @@
100113
"CreateBackupResponseItem": {
101114
"properties": {
102115
"id": {
116+
"format": "int32",
103117
"type": "integer"
104118
},
105119
"message": {
@@ -710,6 +724,7 @@
710724
"type": "array"
711725
},
712726
"quotaCount": {
727+
"format": "int32",
713728
"type": "integer"
714729
},
715730
"schema": {
@@ -787,12 +802,14 @@
787802
"Restore": {
788803
"properties": {
789804
"backup_id": {
805+
"format": "int32",
790806
"type": "integer"
791807
},
792808
"finished_at": {
793809
"type": "string"
794810
},
795811
"id": {
812+
"format": "int32",
796813
"type": "integer"
797814
},
798815
"status": {
@@ -824,6 +841,7 @@
824841
"TriggerRestoreResponse": {
825842
"properties": {
826843
"id": {
844+
"format": "int32",
827845
"type": "integer"
828846
}
829847
},
@@ -889,6 +907,12 @@
889907
},
890908
"description": "OK"
891909
},
910+
"400": {
911+
"$ref": "#/components/responses/BadRequest"
912+
},
913+
"401": {
914+
"$ref": "#/components/responses/Unauthorized"
915+
},
892916
"404": {
893917
"$ref": "#/components/responses/NotFound"
894918
}
@@ -941,6 +965,9 @@
941965
"400": {
942966
"$ref": "#/components/responses/BadRequest"
943967
},
968+
"401": {
969+
"$ref": "#/components/responses/Unauthorized"
970+
},
944971
"409": {
945972
"content": {
946973
"application/json": {
@@ -993,6 +1020,9 @@
9931020
"400": {
9941021
"$ref": "#/components/responses/BadRequest"
9951022
},
1023+
"401": {
1024+
"$ref": "#/components/responses/Unauthorized"
1025+
},
9961026
"404": {
9971027
"$ref": "#/components/responses/NotFound"
9981028
}
@@ -1034,6 +1064,12 @@
10341064
},
10351065
"description": "OK"
10361066
},
1067+
"400": {
1068+
"$ref": "#/components/responses/BadRequest"
1069+
},
1070+
"401": {
1071+
"$ref": "#/components/responses/Unauthorized"
1072+
},
10371073
"404": {
10381074
"$ref": "#/components/responses/NotFound"
10391075
},
@@ -1091,6 +1127,9 @@
10911127
"400": {
10921128
"$ref": "#/components/responses/BadRequest"
10931129
},
1130+
"401": {
1131+
"$ref": "#/components/responses/Unauthorized"
1132+
},
10941133
"404": {
10951134
"$ref": "#/components/responses/NotFound"
10961135
}
@@ -1128,6 +1167,12 @@
11281167
},
11291168
"description": "OK"
11301169
},
1170+
"400": {
1171+
"$ref": "#/components/responses/BadRequest"
1172+
},
1173+
"401": {
1174+
"$ref": "#/components/responses/Unauthorized"
1175+
},
11311176
"404": {
11321177
"$ref": "#/components/responses/NotFound"
11331178
}
@@ -1163,6 +1208,12 @@
11631208
},
11641209
"description": "Created"
11651210
},
1211+
"400": {
1212+
"$ref": "#/components/responses/BadRequest"
1213+
},
1214+
"401": {
1215+
"$ref": "#/components/responses/Unauthorized"
1216+
},
11661217
"404": {
11671218
"$ref": "#/components/responses/NotFound"
11681219
},
@@ -1215,6 +1266,12 @@
12151266
},
12161267
"description": "OK"
12171268
},
1269+
"400": {
1270+
"$ref": "#/components/responses/BadRequest"
1271+
},
1272+
"401": {
1273+
"$ref": "#/components/responses/Unauthorized"
1274+
},
12181275
"404": {
12191276
"$ref": "#/components/responses/NotFound"
12201277
},
@@ -1259,6 +1316,15 @@
12591316
},
12601317
"description": "OK"
12611318
},
1319+
"400": {
1320+
"$ref": "#/components/responses/BadRequest"
1321+
},
1322+
"401": {
1323+
"$ref": "#/components/responses/Unauthorized"
1324+
},
1325+
"404": {
1326+
"$ref": "#/components/responses/NotFound"
1327+
},
12621328
"500": {
12631329
"$ref": "#/components/responses/ServerError"
12641330
}
@@ -1299,6 +1365,12 @@
12991365
},
13001366
"description": "OK"
13011367
},
1368+
"400": {
1369+
"$ref": "#/components/responses/BadRequest"
1370+
},
1371+
"401": {
1372+
"$ref": "#/components/responses/Unauthorized"
1373+
},
13021374
"404": {
13031375
"$ref": "#/components/responses/NotFound"
13041376
},
@@ -1345,6 +1417,12 @@
13451417
},
13461418
"description": "OK"
13471419
},
1420+
"400": {
1421+
"$ref": "#/components/responses/BadRequest"
1422+
},
1423+
"401": {
1424+
"$ref": "#/components/responses/Unauthorized"
1425+
},
13481426
"404": {
13491427
"$ref": "#/components/responses/NotFound"
13501428
}
@@ -1398,6 +1476,9 @@
13981476
},
13991477
"400": {
14001478
"$ref": "#/components/responses/BadRequest"
1479+
},
1480+
"401": {
1481+
"$ref": "#/components/responses/Unauthorized"
14011482
}
14021483
},
14031484
"summary": "create new credentials",
@@ -1441,6 +1522,12 @@
14411522
"200": {
14421523
"description": "Deleted"
14431524
},
1525+
"400": {
1526+
"$ref": "#/components/responses/BadRequest"
1527+
},
1528+
"401": {
1529+
"$ref": "#/components/responses/Unauthorized"
1530+
},
14441531
"404": {
14451532
"$ref": "#/components/responses/NotFound"
14461533
}
@@ -1491,6 +1578,12 @@
14911578
},
14921579
"description": "OK"
14931580
},
1581+
"400": {
1582+
"$ref": "#/components/responses/BadRequest"
1583+
},
1584+
"401": {
1585+
"$ref": "#/components/responses/Unauthorized"
1586+
},
14941587
"404": {
14951588
"$ref": "#/components/responses/NotFound"
14961589
}
@@ -1528,6 +1621,12 @@
15281621
},
15291622
"description": "OK"
15301623
},
1624+
"400": {
1625+
"$ref": "#/components/responses/BadRequest"
1626+
},
1627+
"401": {
1628+
"$ref": "#/components/responses/Unauthorized"
1629+
},
15311630
"404": {
15321631
"$ref": "#/components/responses/NotFound"
15331632
}
@@ -1565,6 +1664,12 @@
15651664
},
15661665
"description": "Accepted"
15671666
},
1667+
"400": {
1668+
"$ref": "#/components/responses/BadRequest"
1669+
},
1670+
"401": {
1671+
"$ref": "#/components/responses/Unauthorized"
1672+
},
15681673
"404": {
15691674
"$ref": "#/components/responses/NotFound"
15701675
},
@@ -1605,6 +1710,12 @@
16051710
},
16061711
"description": "Accepted"
16071712
},
1713+
"400": {
1714+
"$ref": "#/components/responses/BadRequest"
1715+
},
1716+
"401": {
1717+
"$ref": "#/components/responses/Unauthorized"
1718+
},
16081719
"404": {
16091720
"$ref": "#/components/responses/NotFound"
16101721
},
@@ -1645,6 +1756,12 @@
16451756
},
16461757
"description": "OK"
16471758
},
1759+
"400": {
1760+
"$ref": "#/components/responses/BadRequest"
1761+
},
1762+
"401": {
1763+
"$ref": "#/components/responses/Unauthorized"
1764+
},
16481765
"404": {
16491766
"$ref": "#/components/responses/NotFound"
16501767
}
@@ -1679,6 +1796,15 @@
16791796
}
16801797
},
16811798
"description": "Service plans response"
1799+
},
1800+
"400": {
1801+
"$ref": "#/components/responses/BadRequest"
1802+
},
1803+
"401": {
1804+
"$ref": "#/components/responses/Unauthorized"
1805+
},
1806+
"404": {
1807+
"$ref": "#/components/responses/NotFound"
16821808
}
16831809
},
16841810
"summary": "get the service offerings",

0 commit comments

Comments
 (0)