Skip to content

Commit f149234

Browse files
Update OpenAPI 3.0 Descriptions
1 parent b15fded commit f149234

16 files changed

+15850
-14938
lines changed

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

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2315,6 +2315,9 @@
23152315
],
23162316
"default": "disabled"
23172317
},
2318+
"code_scanning_options": {
2319+
"$ref": "#/components/schemas/code-scanning-options"
2320+
},
23182321
"code_scanning_default_setup": {
23192322
"type": "string",
23202323
"description": "The enablement status of code scanning default setup",
@@ -12163,6 +12166,9 @@
1216312166
],
1216412167
"default": "disabled"
1216512168
},
12169+
"code_scanning_options": {
12170+
"$ref": "#/components/schemas/code-scanning-options"
12171+
},
1216612172
"code_scanning_default_setup": {
1216712173
"type": "string",
1216812174
"description": "The enablement status of code scanning default setup",
@@ -99358,7 +99364,14 @@
9935899364
"code_scanning_options": {
9935999365
"type": "object",
9936099366
"description": "Feature options for code scanning",
99361-
"nullable": true
99367+
"nullable": true,
99368+
"properties": {
99369+
"allow_advanced": {
99370+
"nullable": true,
99371+
"type": "boolean",
99372+
"description": "Whether to allow repos which use advanced setup"
99373+
}
99374+
}
9936299375
},
9936399376
"code_scanning_default_setup": {
9936499377
"type": "string",
@@ -99531,6 +99544,18 @@
9953199544
}
9953299545
}
9953399546
},
99547+
"code-scanning-options": {
99548+
"type": "object",
99549+
"description": "Security Configuration feature options for code scanning",
99550+
"nullable": true,
99551+
"properties": {
99552+
"allow_advanced": {
99553+
"nullable": true,
99554+
"type": "boolean",
99555+
"description": "Whether to allow repos which use advanced setup"
99556+
}
99557+
}
99558+
},
9953499559
"code-scanning-default-setup-options": {
9953599560
"type": "object",
9953699561
"description": "Feature options for code scanning default setup",
@@ -272469,6 +272494,9 @@
272469272494
"runner_type": "not_set",
272470272495
"runner_label": null
272471272496
},
272497+
"code_scanning_options": {
272498+
"allow_advanced": false
272499+
},
272472272500
"secret_scanning": "enabled",
272473272501
"secret_scanning_push_protection": "enabled",
272474272502
"secret_scanning_delegated_bypass": "enabled",
@@ -272511,6 +272539,9 @@
272511272539
"runner_type": "not_set",
272512272540
"runner_label": null
272513272541
},
272542+
"code_scanning_options": {
272543+
"allow_advanced": false
272544+
},
272514272545
"secret_scanning": "enabled",
272515272546
"secret_scanning_push_protection": "enabled",
272516272547
"secret_scanning_delegated_bypass": "disabled",
@@ -272544,6 +272575,9 @@
272544272575
"runner_type": "not_set",
272545272576
"runner_label": null
272546272577
},
272578+
"code_scanning_options": {
272579+
"allow_advanced": false
272580+
},
272547272581
"code_scanning_delegated_alert_dismissal": "disabled",
272548272582
"secret_scanning": "enabled",
272549272583
"secret_scanning_push_protection": "disabled",
@@ -276780,6 +276814,9 @@
276780276814
"runner_type": "not_set",
276781276815
"runner_label": null
276782276816
},
276817+
"code_scanning_options": {
276818+
"allow_advanced": false
276819+
},
276783276820
"code_scanning_delegated_alert_dismissal": "disabled",
276784276821
"secret_scanning": "disabled",
276785276822
"secret_scanning_push_protection": "disabled",

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

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1632,6 +1632,8 @@ paths:
16321632
- disabled
16331633
- not_set
16341634
default: disabled
1635+
code_scanning_options:
1636+
"$ref": "#/components/schemas/code-scanning-options"
16351637
code_scanning_default_setup:
16361638
type: string
16371639
description: The enablement status of code scanning default setup
@@ -8844,6 +8846,8 @@ paths:
88448846
- disabled
88458847
- not_set
88468848
default: disabled
8849+
code_scanning_options:
8850+
"$ref": "#/components/schemas/code-scanning-options"
88478851
code_scanning_default_setup:
88488852
type: string
88498853
description: The enablement status of code scanning default setup
@@ -72204,6 +72208,11 @@ components:
7220472208
type: object
7220572209
description: Feature options for code scanning
7220672210
nullable: true
72211+
properties:
72212+
allow_advanced:
72213+
nullable: true
72214+
type: boolean
72215+
description: Whether to allow repos which use advanced setup
7220772216
code_scanning_default_setup:
7220872217
type: string
7220972218
description: The enablement status of code scanning default setup
@@ -72334,6 +72343,15 @@ components:
7233472343
updated_at:
7233572344
type: string
7233672345
format: date-time
72346+
code-scanning-options:
72347+
type: object
72348+
description: Security Configuration feature options for code scanning
72349+
nullable: true
72350+
properties:
72351+
allow_advanced:
72352+
nullable: true
72353+
type: boolean
72354+
description: Whether to allow repos which use advanced setup
7233772355
code-scanning-default-setup-options:
7233872356
type: object
7233972357
description: Feature options for code scanning default setup
@@ -204088,6 +204106,8 @@ components:
204088204106
code_scanning_default_setup_options:
204089204107
runner_type: not_set
204090204108
runner_label:
204109+
code_scanning_options:
204110+
allow_advanced: false
204091204111
secret_scanning: enabled
204092204112
secret_scanning_push_protection: enabled
204093204113
secret_scanning_delegated_bypass: enabled
@@ -204122,6 +204142,8 @@ components:
204122204142
code_scanning_default_setup_options:
204123204143
runner_type: not_set
204124204144
runner_label:
204145+
code_scanning_options:
204146+
allow_advanced: false
204125204147
secret_scanning: enabled
204126204148
secret_scanning_push_protection: enabled
204127204149
secret_scanning_delegated_bypass: disabled
@@ -204149,6 +204171,8 @@ components:
204149204171
code_scanning_default_setup_options:
204150204172
runner_type: not_set
204151204173
runner_label:
204174+
code_scanning_options:
204175+
allow_advanced: false
204152204176
code_scanning_delegated_alert_dismissal: disabled
204153204177
secret_scanning: enabled
204154204178
secret_scanning_push_protection: disabled
@@ -207782,6 +207806,8 @@ components:
207782207806
code_scanning_default_setup_options:
207783207807
runner_type: not_set
207784207808
runner_label:
207809+
code_scanning_options:
207810+
allow_advanced: false
207785207811
code_scanning_delegated_alert_dismissal: disabled
207786207812
secret_scanning: disabled
207787207813
secret_scanning_push_protection: disabled

descriptions/api.github.com/api.github.com.json

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2315,6 +2315,9 @@
23152315
],
23162316
"default": "disabled"
23172317
},
2318+
"code_scanning_options": {
2319+
"$ref": "#/components/schemas/code-scanning-options"
2320+
},
23182321
"code_scanning_default_setup": {
23192322
"type": "string",
23202323
"description": "The enablement status of code scanning default setup",
@@ -12163,6 +12166,9 @@
1216312166
],
1216412167
"default": "disabled"
1216512168
},
12169+
"code_scanning_options": {
12170+
"$ref": "#/components/schemas/code-scanning-options"
12171+
},
1216612172
"code_scanning_default_setup": {
1216712173
"type": "string",
1216812174
"description": "The enablement status of code scanning default setup",
@@ -99358,7 +99364,14 @@
9935899364
"code_scanning_options": {
9935999365
"type": "object",
9936099366
"description": "Feature options for code scanning",
99361-
"nullable": true
99367+
"nullable": true,
99368+
"properties": {
99369+
"allow_advanced": {
99370+
"nullable": true,
99371+
"type": "boolean",
99372+
"description": "Whether to allow repos which use advanced setup"
99373+
}
99374+
}
9936299375
},
9936399376
"code_scanning_default_setup": {
9936499377
"type": "string",
@@ -99531,6 +99544,18 @@
9953199544
}
9953299545
}
9953399546
},
99547+
"code-scanning-options": {
99548+
"type": "object",
99549+
"description": "Security Configuration feature options for code scanning",
99550+
"nullable": true,
99551+
"properties": {
99552+
"allow_advanced": {
99553+
"nullable": true,
99554+
"type": "boolean",
99555+
"description": "Whether to allow repos which use advanced setup"
99556+
}
99557+
}
99558+
},
9953499559
"code-scanning-default-setup-options": {
9953599560
"type": "object",
9953699561
"description": "Feature options for code scanning default setup",
@@ -272469,6 +272494,9 @@
272469272494
"runner_type": "not_set",
272470272495
"runner_label": null
272471272496
},
272497+
"code_scanning_options": {
272498+
"allow_advanced": false
272499+
},
272472272500
"secret_scanning": "enabled",
272473272501
"secret_scanning_push_protection": "enabled",
272474272502
"secret_scanning_delegated_bypass": "enabled",
@@ -272511,6 +272539,9 @@
272511272539
"runner_type": "not_set",
272512272540
"runner_label": null
272513272541
},
272542+
"code_scanning_options": {
272543+
"allow_advanced": false
272544+
},
272514272545
"secret_scanning": "enabled",
272515272546
"secret_scanning_push_protection": "enabled",
272516272547
"secret_scanning_delegated_bypass": "disabled",
@@ -272544,6 +272575,9 @@
272544272575
"runner_type": "not_set",
272545272576
"runner_label": null
272546272577
},
272578+
"code_scanning_options": {
272579+
"allow_advanced": false
272580+
},
272547272581
"code_scanning_delegated_alert_dismissal": "disabled",
272548272582
"secret_scanning": "enabled",
272549272583
"secret_scanning_push_protection": "disabled",
@@ -276780,6 +276814,9 @@
276780276814
"runner_type": "not_set",
276781276815
"runner_label": null
276782276816
},
276817+
"code_scanning_options": {
276818+
"allow_advanced": false
276819+
},
276783276820
"code_scanning_delegated_alert_dismissal": "disabled",
276784276821
"secret_scanning": "disabled",
276785276822
"secret_scanning_push_protection": "disabled",

descriptions/api.github.com/api.github.com.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1632,6 +1632,8 @@ paths:
16321632
- disabled
16331633
- not_set
16341634
default: disabled
1635+
code_scanning_options:
1636+
"$ref": "#/components/schemas/code-scanning-options"
16351637
code_scanning_default_setup:
16361638
type: string
16371639
description: The enablement status of code scanning default setup
@@ -8844,6 +8846,8 @@ paths:
88448846
- disabled
88458847
- not_set
88468848
default: disabled
8849+
code_scanning_options:
8850+
"$ref": "#/components/schemas/code-scanning-options"
88478851
code_scanning_default_setup:
88488852
type: string
88498853
description: The enablement status of code scanning default setup
@@ -72204,6 +72208,11 @@ components:
7220472208
type: object
7220572209
description: Feature options for code scanning
7220672210
nullable: true
72211+
properties:
72212+
allow_advanced:
72213+
nullable: true
72214+
type: boolean
72215+
description: Whether to allow repos which use advanced setup
7220772216
code_scanning_default_setup:
7220872217
type: string
7220972218
description: The enablement status of code scanning default setup
@@ -72334,6 +72343,15 @@ components:
7233472343
updated_at:
7233572344
type: string
7233672345
format: date-time
72346+
code-scanning-options:
72347+
type: object
72348+
description: Security Configuration feature options for code scanning
72349+
nullable: true
72350+
properties:
72351+
allow_advanced:
72352+
nullable: true
72353+
type: boolean
72354+
description: Whether to allow repos which use advanced setup
7233772355
code-scanning-default-setup-options:
7233872356
type: object
7233972357
description: Feature options for code scanning default setup
@@ -204088,6 +204106,8 @@ components:
204088204106
code_scanning_default_setup_options:
204089204107
runner_type: not_set
204090204108
runner_label:
204109+
code_scanning_options:
204110+
allow_advanced: false
204091204111
secret_scanning: enabled
204092204112
secret_scanning_push_protection: enabled
204093204113
secret_scanning_delegated_bypass: enabled
@@ -204122,6 +204142,8 @@ components:
204122204142
code_scanning_default_setup_options:
204123204143
runner_type: not_set
204124204144
runner_label:
204145+
code_scanning_options:
204146+
allow_advanced: false
204125204147
secret_scanning: enabled
204126204148
secret_scanning_push_protection: enabled
204127204149
secret_scanning_delegated_bypass: disabled
@@ -204149,6 +204171,8 @@ components:
204149204171
code_scanning_default_setup_options:
204150204172
runner_type: not_set
204151204173
runner_label:
204174+
code_scanning_options:
204175+
allow_advanced: false
204152204176
code_scanning_delegated_alert_dismissal: disabled
204153204177
secret_scanning: enabled
204154204178
secret_scanning_push_protection: disabled
@@ -207782,6 +207806,8 @@ components:
207782207806
code_scanning_default_setup_options:
207783207807
runner_type: not_set
207784207808
runner_label:
207809+
code_scanning_options:
207810+
allow_advanced: false
207785207811
code_scanning_delegated_alert_dismissal: disabled
207786207812
secret_scanning: disabled
207787207813
secret_scanning_push_protection: disabled

0 commit comments

Comments
 (0)