Skip to content

Commit 3b542fc

Browse files
authored
Merge pull request #4698 from github/openapi-update-50d84e02cf3fb51650fb7f181ce82e66fe82501df44130fec14d2120aaf94fa8
Update OpenAPI 3.0 Descriptions
2 parents 4853695 + e3ea9ea commit 3b542fc

16 files changed

+4096
-0
lines changed

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

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26299,6 +26299,16 @@
2629926299
}
2630026300
}
2630126301
},
26302+
"code_security": {
26303+
"type": "object",
26304+
"description": "Use the `status` property to enable or disable GitHub Code Security for this repository.",
26305+
"properties": {
26306+
"status": {
26307+
"type": "string",
26308+
"description": "Can be `enabled` or `disabled`."
26309+
}
26310+
}
26311+
},
2630226312
"secret_scanning": {
2630326313
"type": "object",
2630426314
"description": "Use the `status` property to enable or disable secret scanning for this repository. For more information, see \"[About secret scanning](/code-security/secret-security/about-secret-scanning).\"",
@@ -101014,6 +101024,18 @@
101014101024
}
101015101025
}
101016101026
},
101027+
"code_security": {
101028+
"type": "object",
101029+
"properties": {
101030+
"status": {
101031+
"type": "string",
101032+
"enum": [
101033+
"enabled",
101034+
"disabled"
101035+
]
101036+
}
101037+
}
101038+
},
101017101039
"dependabot_security_updates": {
101018101040
"description": "Enable or disable Dependabot security updates for the repository.",
101019101041
"type": "object",

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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19111,6 +19111,14 @@ paths:
1911119111
status:
1911219112
type: string
1911319113
description: Can be `enabled` or `disabled`.
19114+
code_security:
19115+
type: object
19116+
description: Use the `status` property to enable or disable
19117+
GitHub Code Security for this repository.
19118+
properties:
19119+
status:
19120+
type: string
19121+
description: Can be `enabled` or `disabled`.
1911419122
secret_scanning:
1911519123
type: object
1911619124
description: Use the `status` property to enable or disable
@@ -73581,6 +73589,14 @@ components:
7358173589
enum:
7358273590
- enabled
7358373591
- disabled
73592+
code_security:
73593+
type: object
73594+
properties:
73595+
status:
73596+
type: string
73597+
enum:
73598+
- enabled
73599+
- disabled
7358473600
dependabot_security_updates:
7358573601
description: Enable or disable Dependabot security updates for the repository.
7358673602
type: object

0 commit comments

Comments
 (0)