Skip to content

Commit 2f2ab90

Browse files
OAS Update
1 parent 1a49874 commit 2f2ab90

1 file changed

Lines changed: 75 additions & 0 deletions

File tree

services/opensearch/v1/opensearch.json

Lines changed: 75 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": {
@@ -667,6 +681,7 @@
667681
"type": "array"
668682
},
669683
"quotaCount": {
684+
"format": "int32",
670685
"type": "integer"
671686
},
672687
"schema": {
@@ -744,12 +759,14 @@
744759
"Restore": {
745760
"properties": {
746761
"backup_id": {
762+
"format": "int32",
747763
"type": "integer"
748764
},
749765
"finished_at": {
750766
"type": "string"
751767
},
752768
"id": {
769+
"format": "int32",
753770
"type": "integer"
754771
},
755772
"status": {
@@ -781,6 +798,7 @@
781798
"TriggerRestoreResponse": {
782799
"properties": {
783800
"id": {
801+
"format": "int32",
784802
"type": "integer"
785803
}
786804
},
@@ -846,6 +864,9 @@
846864
},
847865
"description": "OK"
848866
},
867+
"401": {
868+
"$ref": "#/components/responses/Unauthorized"
869+
},
849870
"404": {
850871
"$ref": "#/components/responses/NotFound"
851872
}
@@ -898,6 +919,9 @@
898919
"400": {
899920
"$ref": "#/components/responses/BadRequest"
900921
},
922+
"401": {
923+
"$ref": "#/components/responses/Unauthorized"
924+
},
901925
"409": {
902926
"content": {
903927
"application/json": {
@@ -950,6 +974,9 @@
950974
"400": {
951975
"$ref": "#/components/responses/BadRequest"
952976
},
977+
"401": {
978+
"$ref": "#/components/responses/Unauthorized"
979+
},
953980
"404": {
954981
"$ref": "#/components/responses/NotFound"
955982
}
@@ -991,6 +1018,9 @@
9911018
},
9921019
"description": "OK"
9931020
},
1021+
"401": {
1022+
"$ref": "#/components/responses/Unauthorized"
1023+
},
9941024
"404": {
9951025
"$ref": "#/components/responses/NotFound"
9961026
},
@@ -1048,6 +1078,9 @@
10481078
"400": {
10491079
"$ref": "#/components/responses/BadRequest"
10501080
},
1081+
"401": {
1082+
"$ref": "#/components/responses/Unauthorized"
1083+
},
10511084
"404": {
10521085
"$ref": "#/components/responses/NotFound"
10531086
}
@@ -1085,6 +1118,9 @@
10851118
},
10861119
"description": "OK"
10871120
},
1121+
"401": {
1122+
"$ref": "#/components/responses/Unauthorized"
1123+
},
10881124
"404": {
10891125
"$ref": "#/components/responses/NotFound"
10901126
}
@@ -1120,6 +1156,9 @@
11201156
},
11211157
"description": "Created"
11221158
},
1159+
"401": {
1160+
"$ref": "#/components/responses/Unauthorized"
1161+
},
11231162
"404": {
11241163
"$ref": "#/components/responses/NotFound"
11251164
},
@@ -1172,6 +1211,9 @@
11721211
},
11731212
"description": "OK"
11741213
},
1214+
"401": {
1215+
"$ref": "#/components/responses/Unauthorized"
1216+
},
11751217
"404": {
11761218
"$ref": "#/components/responses/NotFound"
11771219
},
@@ -1216,6 +1258,9 @@
12161258
},
12171259
"description": "OK"
12181260
},
1261+
"401": {
1262+
"$ref": "#/components/responses/Unauthorized"
1263+
},
12191264
"500": {
12201265
"$ref": "#/components/responses/ServerError"
12211266
}
@@ -1256,6 +1301,9 @@
12561301
},
12571302
"description": "OK"
12581303
},
1304+
"401": {
1305+
"$ref": "#/components/responses/Unauthorized"
1306+
},
12591307
"404": {
12601308
"$ref": "#/components/responses/NotFound"
12611309
},
@@ -1302,6 +1350,9 @@
13021350
},
13031351
"description": "OK"
13041352
},
1353+
"401": {
1354+
"$ref": "#/components/responses/Unauthorized"
1355+
},
13051356
"404": {
13061357
"$ref": "#/components/responses/NotFound"
13071358
}
@@ -1355,6 +1406,9 @@
13551406
},
13561407
"400": {
13571408
"$ref": "#/components/responses/BadRequest"
1409+
},
1410+
"401": {
1411+
"$ref": "#/components/responses/Unauthorized"
13581412
}
13591413
},
13601414
"summary": "create new credentials",
@@ -1398,6 +1452,9 @@
13981452
"200": {
13991453
"description": "Deleted"
14001454
},
1455+
"401": {
1456+
"$ref": "#/components/responses/Unauthorized"
1457+
},
14011458
"404": {
14021459
"$ref": "#/components/responses/NotFound"
14031460
}
@@ -1448,6 +1505,9 @@
14481505
},
14491506
"description": "OK"
14501507
},
1508+
"401": {
1509+
"$ref": "#/components/responses/Unauthorized"
1510+
},
14511511
"404": {
14521512
"$ref": "#/components/responses/NotFound"
14531513
}
@@ -1485,6 +1545,9 @@
14851545
},
14861546
"description": "OK"
14871547
},
1548+
"401": {
1549+
"$ref": "#/components/responses/Unauthorized"
1550+
},
14881551
"404": {
14891552
"$ref": "#/components/responses/NotFound"
14901553
}
@@ -1522,6 +1585,9 @@
15221585
},
15231586
"description": "Accepted"
15241587
},
1588+
"401": {
1589+
"$ref": "#/components/responses/Unauthorized"
1590+
},
15251591
"404": {
15261592
"$ref": "#/components/responses/NotFound"
15271593
},
@@ -1562,6 +1628,9 @@
15621628
},
15631629
"description": "Accepted"
15641630
},
1631+
"401": {
1632+
"$ref": "#/components/responses/Unauthorized"
1633+
},
15651634
"404": {
15661635
"$ref": "#/components/responses/NotFound"
15671636
},
@@ -1602,6 +1671,9 @@
16021671
},
16031672
"description": "OK"
16041673
},
1674+
"401": {
1675+
"$ref": "#/components/responses/Unauthorized"
1676+
},
16051677
"404": {
16061678
"$ref": "#/components/responses/NotFound"
16071679
}
@@ -1636,6 +1708,9 @@
16361708
}
16371709
},
16381710
"description": "Service plans response"
1711+
},
1712+
"401": {
1713+
"$ref": "#/components/responses/Unauthorized"
16391714
}
16401715
},
16411716
"summary": "get the service offerings",

0 commit comments

Comments
 (0)