Skip to content

Commit 42324f9

Browse files
github-actions[bot]jdalton
authored andcommitted
fix(openapi): sync with openapi definition (#269)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 1c9daed commit 42324f9

File tree

2 files changed

+150
-79
lines changed

2 files changed

+150
-79
lines changed

openapi.json

Lines changed: 99 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -9899,7 +9899,8 @@
98999899
"updated_at": {
99009900
"type": "string",
99019901
"description": "The last update date of the repository",
9902-
"default": ""
9902+
"default": "",
9903+
"nullable": true
99039904
},
99049905
"slug": {
99059906
"type": "string",
@@ -9909,7 +9910,8 @@
99099910
"head_full_scan_id": {
99109911
"type": "string",
99119912
"description": "The ID of the head full scan of the repository",
9912-
"default": ""
9913+
"default": "",
9914+
"nullable": true
99139915
},
99149916
"name": {
99159917
"type": "string",
@@ -9919,12 +9921,14 @@
99199921
"description": {
99209922
"type": "string",
99219923
"description": "The description of the repository",
9922-
"default": ""
9924+
"default": "",
9925+
"nullable": true
99239926
},
99249927
"homepage": {
99259928
"type": "string",
99269929
"description": "The homepage URL of the repository",
9927-
"default": ""
9930+
"default": "",
9931+
"nullable": true
99289932
},
99299933
"visibility": {
99309934
"type": "string",
@@ -9933,7 +9937,8 @@
99339937
"private"
99349938
],
99359939
"description": "The visibility of the repository",
9936-
"default": "private"
9940+
"default": "private",
9941+
"nullable": true
99379942
},
99389943
"archived": {
99399944
"type": "boolean",
@@ -9943,7 +9948,8 @@
99439948
"default_branch": {
99449949
"type": "string",
99459950
"description": "The default branch of the repository",
9946-
"default": "main"
9951+
"default": "main",
9952+
"nullable": true
99479953
}
99489954
},
99499955
"description": ""
@@ -10016,12 +10022,14 @@
1001610022
"description": {
1001710023
"type": "string",
1001810024
"description": "The description of the repository",
10019-
"default": ""
10025+
"default": "",
10026+
"nullable": true
1002010027
},
1002110028
"homepage": {
1002210029
"type": "string",
1002310030
"description": "The homepage URL of the repository",
10024-
"default": ""
10031+
"default": "",
10032+
"nullable": true
1002510033
},
1002610034
"visibility": {
1002710035
"type": "string",
@@ -10030,7 +10038,8 @@
1003010038
"private"
1003110039
],
1003210040
"description": "The visibility of the repository",
10033-
"default": "private"
10041+
"default": "private",
10042+
"nullable": true
1003410043
},
1003510044
"archived": {
1003610045
"type": "boolean",
@@ -10040,7 +10049,8 @@
1004010049
"default_branch": {
1004110050
"type": "string",
1004210051
"description": "The default branch of the repository",
10043-
"default": "main"
10052+
"default": "main",
10053+
"nullable": true
1004410054
}
1004510055
},
1004610056
"description": ""
@@ -10083,7 +10093,8 @@
1008310093
"updated_at": {
1008410094
"type": "string",
1008510095
"description": "The last update date of the repository",
10086-
"default": ""
10096+
"default": "",
10097+
"nullable": true
1008710098
},
1008810099
"slug": {
1008910100
"type": "string",
@@ -10093,7 +10104,8 @@
1009310104
"head_full_scan_id": {
1009410105
"type": "string",
1009510106
"description": "The ID of the head full scan of the repository",
10096-
"default": ""
10107+
"default": "",
10108+
"nullable": true
1009710109
},
1009810110
"name": {
1009910111
"type": "string",
@@ -10103,12 +10115,14 @@
1010310115
"description": {
1010410116
"type": "string",
1010510117
"description": "The description of the repository",
10106-
"default": ""
10118+
"default": "",
10119+
"nullable": true
1010710120
},
1010810121
"homepage": {
1010910122
"type": "string",
1011010123
"description": "The homepage URL of the repository",
10111-
"default": ""
10124+
"default": "",
10125+
"nullable": true
1011210126
},
1011310127
"visibility": {
1011410128
"type": "string",
@@ -10117,7 +10131,8 @@
1011710131
"private"
1011810132
],
1011910133
"description": "The visibility of the repository",
10120-
"default": "private"
10134+
"default": "private",
10135+
"nullable": true
1012110136
},
1012210137
"archived": {
1012310138
"type": "boolean",
@@ -10127,7 +10142,8 @@
1012710142
"default_branch": {
1012810143
"type": "string",
1012910144
"description": "The default branch of the repository",
10130-
"default": "main"
10145+
"default": "main",
10146+
"nullable": true
1013110147
}
1013210148
},
1013310149
"description": ""
@@ -10202,6 +10218,7 @@
1020210218
"schema": {
1020310219
"type": "object",
1020410220
"additionalProperties": false,
10221+
"description": "",
1020510222
"properties": {
1020610223
"id": {
1020710224
"type": "string",
@@ -10216,7 +10233,8 @@
1021610233
"updated_at": {
1021710234
"type": "string",
1021810235
"description": "The last update date of the repository",
10219-
"default": ""
10236+
"default": "",
10237+
"nullable": true
1022010238
},
1022110239
"slug": {
1022210240
"type": "string",
@@ -10226,7 +10244,8 @@
1022610244
"head_full_scan_id": {
1022710245
"type": "string",
1022810246
"description": "The ID of the head full scan of the repository",
10229-
"default": ""
10247+
"default": "",
10248+
"nullable": true
1023010249
},
1023110250
"name": {
1023210251
"type": "string",
@@ -10236,12 +10255,14 @@
1023610255
"description": {
1023710256
"type": "string",
1023810257
"description": "The description of the repository",
10239-
"default": ""
10258+
"default": "",
10259+
"nullable": true
1024010260
},
1024110261
"homepage": {
1024210262
"type": "string",
1024310263
"description": "The homepage URL of the repository",
10244-
"default": ""
10264+
"default": "",
10265+
"nullable": true
1024510266
},
1024610267
"visibility": {
1024710268
"type": "string",
@@ -10250,7 +10271,8 @@
1025010271
"private"
1025110272
],
1025210273
"description": "The visibility of the repository",
10253-
"default": "private"
10274+
"default": "private",
10275+
"nullable": true
1025410276
},
1025510277
"archived": {
1025610278
"type": "boolean",
@@ -10260,10 +10282,29 @@
1026010282
"default_branch": {
1026110283
"type": "string",
1026210284
"description": "The default branch of the repository",
10263-
"default": "main"
10285+
"default": "main",
10286+
"nullable": true
10287+
},
10288+
"slig": {
10289+
"type": "string",
10290+
"description": "The slug of the repository. This typo is intentionally preserved for backwards compatibility reasons.",
10291+
"default": ""
1026410292
}
1026510293
},
10266-
"description": ""
10294+
"required": [
10295+
"archived",
10296+
"created_at",
10297+
"default_branch",
10298+
"description",
10299+
"head_full_scan_id",
10300+
"homepage",
10301+
"id",
10302+
"name",
10303+
"slig",
10304+
"slug",
10305+
"updated_at",
10306+
"visibility"
10307+
]
1026710308
}
1026810309
}
1026910310
},
@@ -10328,12 +10369,14 @@
1032810369
"description": {
1032910370
"type": "string",
1033010371
"description": "The description of the repository",
10331-
"default": ""
10372+
"default": "",
10373+
"nullable": true
1033210374
},
1033310375
"homepage": {
1033410376
"type": "string",
1033510377
"description": "The homepage URL of the repository",
10336-
"default": ""
10378+
"default": "",
10379+
"nullable": true
1033710380
},
1033810381
"visibility": {
1033910382
"type": "string",
@@ -10342,7 +10385,8 @@
1034210385
"private"
1034310386
],
1034410387
"description": "The visibility of the repository",
10345-
"default": "private"
10388+
"default": "private",
10389+
"nullable": true
1034610390
},
1034710391
"archived": {
1034810392
"type": "boolean",
@@ -10352,7 +10396,8 @@
1035210396
"default_branch": {
1035310397
"type": "string",
1035410398
"description": "The default branch of the repository",
10355-
"default": "main"
10399+
"default": "main",
10400+
"nullable": true
1035610401
}
1035710402
},
1035810403
"description": ""
@@ -10395,7 +10440,8 @@
1039510440
"updated_at": {
1039610441
"type": "string",
1039710442
"description": "The last update date of the repository",
10398-
"default": ""
10443+
"default": "",
10444+
"nullable": true
1039910445
},
1040010446
"slug": {
1040110447
"type": "string",
@@ -10405,7 +10451,8 @@
1040510451
"head_full_scan_id": {
1040610452
"type": "string",
1040710453
"description": "The ID of the head full scan of the repository",
10408-
"default": ""
10454+
"default": "",
10455+
"nullable": true
1040910456
},
1041010457
"name": {
1041110458
"type": "string",
@@ -10415,12 +10462,14 @@
1041510462
"description": {
1041610463
"type": "string",
1041710464
"description": "The description of the repository",
10418-
"default": ""
10465+
"default": "",
10466+
"nullable": true
1041910467
},
1042010468
"homepage": {
1042110469
"type": "string",
1042210470
"description": "The homepage URL of the repository",
10423-
"default": ""
10471+
"default": "",
10472+
"nullable": true
1042410473
},
1042510474
"visibility": {
1042610475
"type": "string",
@@ -10429,7 +10478,8 @@
1042910478
"private"
1043010479
],
1043110480
"description": "The visibility of the repository",
10432-
"default": "private"
10481+
"default": "private",
10482+
"nullable": true
1043310483
},
1043410484
"archived": {
1043510485
"type": "boolean",
@@ -10439,7 +10489,8 @@
1043910489
"default_branch": {
1044010490
"type": "string",
1044110491
"description": "The default branch of the repository",
10442-
"default": "main"
10492+
"default": "main",
10493+
"nullable": true
1044310494
}
1044410495
},
1044510496
"description": ""
@@ -10883,6 +10934,11 @@
1088310934
"repo:create",
1088410935
"repo:update",
1088510936
"repo:delete",
10937+
"repo-label",
10938+
"repo-label:list",
10939+
"repo-label:create",
10940+
"repo-label:update",
10941+
"repo-label:delete",
1088610942
"full-scans",
1088710943
"full-scans:list",
1088810944
"full-scans:create",
@@ -11162,6 +11218,11 @@
1116211218
"repo:create",
1116311219
"repo:update",
1116411220
"repo:delete",
11221+
"repo-label",
11222+
"repo-label:list",
11223+
"repo-label:create",
11224+
"repo-label:update",
11225+
"repo-label:delete",
1116511226
"full-scans",
1116611227
"full-scans:list",
1116711228
"full-scans:create",
@@ -11367,6 +11428,11 @@
1136711428
"repo:create",
1136811429
"repo:update",
1136911430
"repo:delete",
11431+
"repo-label",
11432+
"repo-label:list",
11433+
"repo-label:create",
11434+
"repo-label:update",
11435+
"repo-label:delete",
1137011436
"full-scans",
1137111437
"full-scans:list",
1137211438
"full-scans:create",

0 commit comments

Comments
 (0)