Skip to content

Commit 1a49874

Browse files
OAS Update
1 parent dbce7f0 commit 1a49874

3 files changed

Lines changed: 225 additions & 0 deletions

File tree

services/logme/v1/logme.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": {
@@ -702,6 +716,7 @@
702716
"type": "array"
703717
},
704718
"quotaCount": {
719+
"format": "int32",
705720
"type": "integer"
706721
},
707722
"schema": {
@@ -779,12 +794,14 @@
779794
"Restore": {
780795
"properties": {
781796
"backup_id": {
797+
"format": "int32",
782798
"type": "integer"
783799
},
784800
"finished_at": {
785801
"type": "string"
786802
},
787803
"id": {
804+
"format": "int32",
788805
"type": "integer"
789806
},
790807
"status": {
@@ -816,6 +833,7 @@
816833
"TriggerRestoreResponse": {
817834
"properties": {
818835
"id": {
836+
"format": "int32",
819837
"type": "integer"
820838
}
821839
},
@@ -881,6 +899,9 @@
881899
},
882900
"description": "OK"
883901
},
902+
"401": {
903+
"$ref": "#/components/responses/Unauthorized"
904+
},
884905
"404": {
885906
"$ref": "#/components/responses/NotFound"
886907
}
@@ -933,6 +954,9 @@
933954
"400": {
934955
"$ref": "#/components/responses/BadRequest"
935956
},
957+
"401": {
958+
"$ref": "#/components/responses/Unauthorized"
959+
},
936960
"409": {
937961
"content": {
938962
"application/json": {
@@ -985,6 +1009,9 @@
9851009
"400": {
9861010
"$ref": "#/components/responses/BadRequest"
9871011
},
1012+
"401": {
1013+
"$ref": "#/components/responses/Unauthorized"
1014+
},
9881015
"404": {
9891016
"$ref": "#/components/responses/NotFound"
9901017
}
@@ -1026,6 +1053,9 @@
10261053
},
10271054
"description": "OK"
10281055
},
1056+
"401": {
1057+
"$ref": "#/components/responses/Unauthorized"
1058+
},
10291059
"404": {
10301060
"$ref": "#/components/responses/NotFound"
10311061
},
@@ -1083,6 +1113,9 @@
10831113
"400": {
10841114
"$ref": "#/components/responses/BadRequest"
10851115
},
1116+
"401": {
1117+
"$ref": "#/components/responses/Unauthorized"
1118+
},
10861119
"404": {
10871120
"$ref": "#/components/responses/NotFound"
10881121
}
@@ -1120,6 +1153,9 @@
11201153
},
11211154
"description": "OK"
11221155
},
1156+
"401": {
1157+
"$ref": "#/components/responses/Unauthorized"
1158+
},
11231159
"404": {
11241160
"$ref": "#/components/responses/NotFound"
11251161
}
@@ -1155,6 +1191,9 @@
11551191
},
11561192
"description": "Created"
11571193
},
1194+
"401": {
1195+
"$ref": "#/components/responses/Unauthorized"
1196+
},
11581197
"404": {
11591198
"$ref": "#/components/responses/NotFound"
11601199
},
@@ -1207,6 +1246,9 @@
12071246
},
12081247
"description": "OK"
12091248
},
1249+
"401": {
1250+
"$ref": "#/components/responses/Unauthorized"
1251+
},
12101252
"404": {
12111253
"$ref": "#/components/responses/NotFound"
12121254
},
@@ -1251,6 +1293,9 @@
12511293
},
12521294
"description": "OK"
12531295
},
1296+
"401": {
1297+
"$ref": "#/components/responses/Unauthorized"
1298+
},
12541299
"500": {
12551300
"$ref": "#/components/responses/ServerError"
12561301
}
@@ -1291,6 +1336,9 @@
12911336
},
12921337
"description": "OK"
12931338
},
1339+
"401": {
1340+
"$ref": "#/components/responses/Unauthorized"
1341+
},
12941342
"404": {
12951343
"$ref": "#/components/responses/NotFound"
12961344
},
@@ -1337,6 +1385,9 @@
13371385
},
13381386
"description": "OK"
13391387
},
1388+
"401": {
1389+
"$ref": "#/components/responses/Unauthorized"
1390+
},
13401391
"404": {
13411392
"$ref": "#/components/responses/NotFound"
13421393
}
@@ -1390,6 +1441,9 @@
13901441
},
13911442
"400": {
13921443
"$ref": "#/components/responses/BadRequest"
1444+
},
1445+
"401": {
1446+
"$ref": "#/components/responses/Unauthorized"
13931447
}
13941448
},
13951449
"summary": "create new credentials",
@@ -1433,6 +1487,9 @@
14331487
"200": {
14341488
"description": "Deleted"
14351489
},
1490+
"401": {
1491+
"$ref": "#/components/responses/Unauthorized"
1492+
},
14361493
"404": {
14371494
"$ref": "#/components/responses/NotFound"
14381495
}
@@ -1483,6 +1540,9 @@
14831540
},
14841541
"description": "OK"
14851542
},
1543+
"401": {
1544+
"$ref": "#/components/responses/Unauthorized"
1545+
},
14861546
"404": {
14871547
"$ref": "#/components/responses/NotFound"
14881548
}
@@ -1520,6 +1580,9 @@
15201580
},
15211581
"description": "OK"
15221582
},
1583+
"401": {
1584+
"$ref": "#/components/responses/Unauthorized"
1585+
},
15231586
"404": {
15241587
"$ref": "#/components/responses/NotFound"
15251588
}
@@ -1557,6 +1620,9 @@
15571620
},
15581621
"description": "Accepted"
15591622
},
1623+
"401": {
1624+
"$ref": "#/components/responses/Unauthorized"
1625+
},
15601626
"404": {
15611627
"$ref": "#/components/responses/NotFound"
15621628
},
@@ -1597,6 +1663,9 @@
15971663
},
15981664
"description": "Accepted"
15991665
},
1666+
"401": {
1667+
"$ref": "#/components/responses/Unauthorized"
1668+
},
16001669
"404": {
16011670
"$ref": "#/components/responses/NotFound"
16021671
},
@@ -1637,6 +1706,9 @@
16371706
},
16381707
"description": "OK"
16391708
},
1709+
"401": {
1710+
"$ref": "#/components/responses/Unauthorized"
1711+
},
16401712
"404": {
16411713
"$ref": "#/components/responses/NotFound"
16421714
}
@@ -1671,6 +1743,9 @@
16711743
}
16721744
},
16731745
"description": "Service plans response"
1746+
},
1747+
"401": {
1748+
"$ref": "#/components/responses/Unauthorized"
16741749
}
16751750
},
16761751
"summary": "get the service offerings",

0 commit comments

Comments
 (0)