Skip to content

Commit a54e502

Browse files
Update OpenAPI 3.1 Descriptions
1 parent 1cd73ab commit a54e502

24 files changed

+528
-184
lines changed

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

+19-9
Original file line numberDiff line numberDiff line change
@@ -2189,10 +2189,12 @@
21892189
},
21902190
"advanced_security": {
21912191
"type": "string",
2192-
"description": "The enablement status of GitHub Advanced Security",
2192+
"description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.",
21932193
"enum": [
21942194
"enabled",
2195-
"disabled"
2195+
"disabled",
2196+
"code_security",
2197+
"secret_protection"
21962198
],
21972199
"default": "disabled"
21982200
},
@@ -2538,10 +2540,12 @@
25382540
},
25392541
"advanced_security": {
25402542
"type": "string",
2541-
"description": "The enablement status of GitHub Advanced Security. Must be set to enabled if you want to enable any GHAS settings.",
2543+
"description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.",
25422544
"enum": [
25432545
"enabled",
2544-
"disabled"
2546+
"disabled",
2547+
"code_security",
2548+
"secret_protection"
25452549
]
25462550
},
25472551
"dependency_graph": {
@@ -11455,10 +11459,12 @@
1145511459
},
1145611460
"advanced_security": {
1145711461
"type": "string",
11458-
"description": "The enablement status of GitHub Advanced Security",
11462+
"description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.",
1145911463
"enum": [
1146011464
"enabled",
11461-
"disabled"
11465+
"disabled",
11466+
"code_security",
11467+
"secret_protection"
1146211468
],
1146311469
"default": "disabled"
1146411470
},
@@ -11918,10 +11924,12 @@
1191811924
},
1191911925
"advanced_security": {
1192011926
"type": "string",
11921-
"description": "The enablement status of GitHub Advanced Security",
11927+
"description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.",
1192211928
"enum": [
1192311929
"enabled",
11924-
"disabled"
11930+
"disabled",
11931+
"code_security",
11932+
"secret_protection"
1192511933
]
1192611934
},
1192711935
"dependency_graph": {
@@ -99000,7 +99008,9 @@
9900099008
"description": "The enablement status of GitHub Advanced Security",
9900199009
"enum": [
9900299010
"enabled",
99003-
"disabled"
99011+
"disabled",
99012+
"code_security",
99013+
"secret_protection"
9900499014
]
9900599015
},
9900699016
"dependency_graph": {

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

+22-5
Original file line numberDiff line numberDiff line change
@@ -1519,10 +1519,14 @@ paths:
15191519
maxLength: 255
15201520
advanced_security:
15211521
type: string
1522-
description: The enablement status of GitHub Advanced Security
1522+
description: The enablement status of GitHub Advanced Security features.
1523+
`enabled` will enable both Code Security and Secret Protection
1524+
features.
15231525
enum:
15241526
- enabled
15251527
- disabled
1528+
- code_security
1529+
- secret_protection
15261530
default: disabled
15271531
dependency_graph:
15281532
type: string
@@ -1789,11 +1793,14 @@ paths:
17891793
maxLength: 255
17901794
advanced_security:
17911795
type: string
1792-
description: The enablement status of GitHub Advanced Security.
1793-
Must be set to enabled if you want to enable any GHAS settings.
1796+
description: The enablement status of GitHub Advanced Security features.
1797+
`enabled` will enable both Code Security and Secret Protection
1798+
features.
17941799
enum:
17951800
- enabled
17961801
- disabled
1802+
- code_security
1803+
- secret_protection
17971804
dependency_graph:
17981805
type: string
17991806
description: The enablement status of Dependency Graph
@@ -8290,10 +8297,14 @@ paths:
82908297
maxLength: 255
82918298
advanced_security:
82928299
type: string
8293-
description: The enablement status of GitHub Advanced Security
8300+
description: The enablement status of GitHub Advanced Security features.
8301+
`enabled` will enable both Code Security and Secret Protection
8302+
features.
82948303
enum:
82958304
- enabled
82968305
- disabled
8306+
- code_security
8307+
- secret_protection
82978308
default: disabled
82988309
dependency_graph:
82998310
type: string
@@ -8647,10 +8658,14 @@ paths:
86478658
maxLength: 255
86488659
advanced_security:
86498660
type: string
8650-
description: The enablement status of GitHub Advanced Security
8661+
description: The enablement status of GitHub Advanced Security features.
8662+
`enabled` will enable both Code Security and Secret Protection
8663+
features.
86518664
enum:
86528665
- enabled
86538666
- disabled
8667+
- code_security
8668+
- secret_protection
86548669
dependency_graph:
86558670
type: string
86568671
description: The enablement status of Dependency Graph
@@ -71671,6 +71686,8 @@ components:
7167171686
enum:
7167271687
- enabled
7167371688
- disabled
71689+
- code_security
71690+
- secret_protection
7167471691
dependency_graph:
7167571692
type: string
7167671693
description: The enablement status of Dependency Graph

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

+19-9
Original file line numberDiff line numberDiff line change
@@ -2189,10 +2189,12 @@
21892189
},
21902190
"advanced_security": {
21912191
"type": "string",
2192-
"description": "The enablement status of GitHub Advanced Security",
2192+
"description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.",
21932193
"enum": [
21942194
"enabled",
2195-
"disabled"
2195+
"disabled",
2196+
"code_security",
2197+
"secret_protection"
21962198
],
21972199
"default": "disabled"
21982200
},
@@ -2538,10 +2540,12 @@
25382540
},
25392541
"advanced_security": {
25402542
"type": "string",
2541-
"description": "The enablement status of GitHub Advanced Security. Must be set to enabled if you want to enable any GHAS settings.",
2543+
"description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.",
25422544
"enum": [
25432545
"enabled",
2544-
"disabled"
2546+
"disabled",
2547+
"code_security",
2548+
"secret_protection"
25452549
]
25462550
},
25472551
"dependency_graph": {
@@ -11455,10 +11459,12 @@
1145511459
},
1145611460
"advanced_security": {
1145711461
"type": "string",
11458-
"description": "The enablement status of GitHub Advanced Security",
11462+
"description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.",
1145911463
"enum": [
1146011464
"enabled",
11461-
"disabled"
11465+
"disabled",
11466+
"code_security",
11467+
"secret_protection"
1146211468
],
1146311469
"default": "disabled"
1146411470
},
@@ -11918,10 +11924,12 @@
1191811924
},
1191911925
"advanced_security": {
1192011926
"type": "string",
11921-
"description": "The enablement status of GitHub Advanced Security",
11927+
"description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.",
1192211928
"enum": [
1192311929
"enabled",
11924-
"disabled"
11930+
"disabled",
11931+
"code_security",
11932+
"secret_protection"
1192511933
]
1192611934
},
1192711935
"dependency_graph": {
@@ -99000,7 +99008,9 @@
9900099008
"description": "The enablement status of GitHub Advanced Security",
9900199009
"enum": [
9900299010
"enabled",
99003-
"disabled"
99011+
"disabled",
99012+
"code_security",
99013+
"secret_protection"
9900499014
]
9900599015
},
9900699016
"dependency_graph": {

0 commit comments

Comments
 (0)