Skip to content

Commit eb9a2aa

Browse files
Update OpenAPI 3.1 Descriptions
1 parent b15fded commit eb9a2aa

16 files changed

+15848
-14752
lines changed

descriptions-next/api.github.com/api.github.com.2022-11-28.json

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2327,6 +2327,9 @@
23272327
],
23282328
"default": "disabled"
23292329
},
2330+
"code_scanning_options": {
2331+
"$ref": "#/components/schemas/code-scanning-options"
2332+
},
23302333
"code_scanning_default_setup": {
23312334
"type": "string",
23322335
"description": "The enablement status of code scanning default setup",
@@ -12217,6 +12220,9 @@
1221712220
],
1221812221
"default": "disabled"
1221912222
},
12223+
"code_scanning_options": {
12224+
"$ref": "#/components/schemas/code-scanning-options"
12225+
},
1222012226
"code_scanning_default_setup": {
1222112227
"type": "string",
1222212228
"description": "The enablement status of code scanning default setup",
@@ -100253,7 +100259,16 @@
100253100259
"object",
100254100260
"null"
100255100261
],
100256-
"description": "Feature options for code scanning"
100262+
"description": "Feature options for code scanning",
100263+
"properties": {
100264+
"allow_advanced": {
100265+
"type": [
100266+
"boolean",
100267+
"null"
100268+
],
100269+
"description": "Whether to allow repos which use advanced setup"
100270+
}
100271+
}
100257100272
},
100258100273
"code_scanning_default_setup": {
100259100274
"type": "string",
@@ -100433,6 +100448,22 @@
100433100448
}
100434100449
}
100435100450
},
100451+
"code-scanning-options": {
100452+
"type": [
100453+
"object",
100454+
"null"
100455+
],
100456+
"description": "Security Configuration feature options for code scanning",
100457+
"properties": {
100458+
"allow_advanced": {
100459+
"type": [
100460+
"boolean",
100461+
"null"
100462+
],
100463+
"description": "Whether to allow repos which use advanced setup"
100464+
}
100465+
}
100466+
},
100436100467
"code-scanning-default-setup-options": {
100437100468
"type": [
100438100469
"object",
@@ -281270,6 +281301,9 @@
281270281301
"runner_type": "not_set",
281271281302
"runner_label": null
281272281303
},
281304+
"code_scanning_options": {
281305+
"allow_advanced": false
281306+
},
281273281307
"secret_scanning": "enabled",
281274281308
"secret_scanning_push_protection": "enabled",
281275281309
"secret_scanning_delegated_bypass": "enabled",
@@ -281312,6 +281346,9 @@
281312281346
"runner_type": "not_set",
281313281347
"runner_label": null
281314281348
},
281349+
"code_scanning_options": {
281350+
"allow_advanced": false
281351+
},
281315281352
"secret_scanning": "enabled",
281316281353
"secret_scanning_push_protection": "enabled",
281317281354
"secret_scanning_delegated_bypass": "disabled",
@@ -281345,6 +281382,9 @@
281345281382
"runner_type": "not_set",
281346281383
"runner_label": null
281347281384
},
281385+
"code_scanning_options": {
281386+
"allow_advanced": false
281387+
},
281348281388
"code_scanning_delegated_alert_dismissal": "disabled",
281349281389
"secret_scanning": "enabled",
281350281390
"secret_scanning_push_protection": "disabled",
@@ -285581,6 +285621,9 @@
285581285621
"runner_type": "not_set",
285582285622
"runner_label": null
285583285623
},
285624+
"code_scanning_options": {
285625+
"allow_advanced": false
285626+
},
285584285627
"code_scanning_delegated_alert_dismissal": "disabled",
285585285628
"secret_scanning": "disabled",
285586285629
"secret_scanning_push_protection": "disabled",

descriptions-next/api.github.com/api.github.com.2022-11-28.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1638,6 +1638,8 @@ paths:
16381638
- disabled
16391639
- not_set
16401640
default: disabled
1641+
code_scanning_options:
1642+
"$ref": "#/components/schemas/code-scanning-options"
16411643
code_scanning_default_setup:
16421644
type: string
16431645
description: The enablement status of code scanning default setup
@@ -8869,6 +8871,8 @@ paths:
88698871
- disabled
88708872
- not_set
88718873
default: disabled
8874+
code_scanning_options:
8875+
"$ref": "#/components/schemas/code-scanning-options"
88728876
code_scanning_default_setup:
88738877
type: string
88748878
description: The enablement status of code scanning default setup
@@ -72607,6 +72611,12 @@ components:
7260772611
- object
7260872612
- 'null'
7260972613
description: Feature options for code scanning
72614+
properties:
72615+
allow_advanced:
72616+
type:
72617+
- boolean
72618+
- 'null'
72619+
description: Whether to allow repos which use advanced setup
7261072620
code_scanning_default_setup:
7261172621
type: string
7261272622
description: The enablement status of code scanning default setup
@@ -72741,6 +72751,17 @@ components:
7274172751
updated_at:
7274272752
type: string
7274372753
format: date-time
72754+
code-scanning-options:
72755+
type:
72756+
- object
72757+
- 'null'
72758+
description: Security Configuration feature options for code scanning
72759+
properties:
72760+
allow_advanced:
72761+
type:
72762+
- boolean
72763+
- 'null'
72764+
description: Whether to allow repos which use advanced setup
7274472765
code-scanning-default-setup-options:
7274572766
type:
7274672767
- object
@@ -207315,6 +207336,8 @@ components:
207315207336
code_scanning_default_setup_options:
207316207337
runner_type: not_set
207317207338
runner_label:
207339+
code_scanning_options:
207340+
allow_advanced: false
207318207341
secret_scanning: enabled
207319207342
secret_scanning_push_protection: enabled
207320207343
secret_scanning_delegated_bypass: enabled
@@ -207349,6 +207372,8 @@ components:
207349207372
code_scanning_default_setup_options:
207350207373
runner_type: not_set
207351207374
runner_label:
207375+
code_scanning_options:
207376+
allow_advanced: false
207352207377
secret_scanning: enabled
207353207378
secret_scanning_push_protection: enabled
207354207379
secret_scanning_delegated_bypass: disabled
@@ -207376,6 +207401,8 @@ components:
207376207401
code_scanning_default_setup_options:
207377207402
runner_type: not_set
207378207403
runner_label:
207404+
code_scanning_options:
207405+
allow_advanced: false
207379207406
code_scanning_delegated_alert_dismissal: disabled
207380207407
secret_scanning: enabled
207381207408
secret_scanning_push_protection: disabled
@@ -211009,6 +211036,8 @@ components:
211009211036
code_scanning_default_setup_options:
211010211037
runner_type: not_set
211011211038
runner_label:
211039+
code_scanning_options:
211040+
allow_advanced: false
211012211041
code_scanning_delegated_alert_dismissal: disabled
211013211042
secret_scanning: disabled
211014211043
secret_scanning_push_protection: disabled

descriptions-next/api.github.com/api.github.com.json

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2327,6 +2327,9 @@
23272327
],
23282328
"default": "disabled"
23292329
},
2330+
"code_scanning_options": {
2331+
"$ref": "#/components/schemas/code-scanning-options"
2332+
},
23302333
"code_scanning_default_setup": {
23312334
"type": "string",
23322335
"description": "The enablement status of code scanning default setup",
@@ -12217,6 +12220,9 @@
1221712220
],
1221812221
"default": "disabled"
1221912222
},
12223+
"code_scanning_options": {
12224+
"$ref": "#/components/schemas/code-scanning-options"
12225+
},
1222012226
"code_scanning_default_setup": {
1222112227
"type": "string",
1222212228
"description": "The enablement status of code scanning default setup",
@@ -100253,7 +100259,16 @@
100253100259
"object",
100254100260
"null"
100255100261
],
100256-
"description": "Feature options for code scanning"
100262+
"description": "Feature options for code scanning",
100263+
"properties": {
100264+
"allow_advanced": {
100265+
"type": [
100266+
"boolean",
100267+
"null"
100268+
],
100269+
"description": "Whether to allow repos which use advanced setup"
100270+
}
100271+
}
100257100272
},
100258100273
"code_scanning_default_setup": {
100259100274
"type": "string",
@@ -100433,6 +100448,22 @@
100433100448
}
100434100449
}
100435100450
},
100451+
"code-scanning-options": {
100452+
"type": [
100453+
"object",
100454+
"null"
100455+
],
100456+
"description": "Security Configuration feature options for code scanning",
100457+
"properties": {
100458+
"allow_advanced": {
100459+
"type": [
100460+
"boolean",
100461+
"null"
100462+
],
100463+
"description": "Whether to allow repos which use advanced setup"
100464+
}
100465+
}
100466+
},
100436100467
"code-scanning-default-setup-options": {
100437100468
"type": [
100438100469
"object",
@@ -281270,6 +281301,9 @@
281270281301
"runner_type": "not_set",
281271281302
"runner_label": null
281272281303
},
281304+
"code_scanning_options": {
281305+
"allow_advanced": false
281306+
},
281273281307
"secret_scanning": "enabled",
281274281308
"secret_scanning_push_protection": "enabled",
281275281309
"secret_scanning_delegated_bypass": "enabled",
@@ -281312,6 +281346,9 @@
281312281346
"runner_type": "not_set",
281313281347
"runner_label": null
281314281348
},
281349+
"code_scanning_options": {
281350+
"allow_advanced": false
281351+
},
281315281352
"secret_scanning": "enabled",
281316281353
"secret_scanning_push_protection": "enabled",
281317281354
"secret_scanning_delegated_bypass": "disabled",
@@ -281345,6 +281382,9 @@
281345281382
"runner_type": "not_set",
281346281383
"runner_label": null
281347281384
},
281385+
"code_scanning_options": {
281386+
"allow_advanced": false
281387+
},
281348281388
"code_scanning_delegated_alert_dismissal": "disabled",
281349281389
"secret_scanning": "enabled",
281350281390
"secret_scanning_push_protection": "disabled",
@@ -285581,6 +285621,9 @@
285581285621
"runner_type": "not_set",
285582285622
"runner_label": null
285583285623
},
285624+
"code_scanning_options": {
285625+
"allow_advanced": false
285626+
},
285584285627
"code_scanning_delegated_alert_dismissal": "disabled",
285585285628
"secret_scanning": "disabled",
285586285629
"secret_scanning_push_protection": "disabled",

0 commit comments

Comments
 (0)