Skip to content

Commit 14f6117

Browse files
authored
Merge pull request #4699 from github/openapi-update-0aa920910f87eafbb1ec1fa1b33e9de4b92aed10cef375a1c0a74b646dbdaeb9
Update OpenAPI 3.1 Descriptions
2 parents 3b542fc + 146aec3 commit 14f6117

16 files changed

+4096
-0
lines changed

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

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26421,6 +26421,16 @@
2642126421
}
2642226422
}
2642326423
},
26424+
"code_security": {
26425+
"type": "object",
26426+
"description": "Use the `status` property to enable or disable GitHub Code Security for this repository.",
26427+
"properties": {
26428+
"status": {
26429+
"type": "string",
26430+
"description": "Can be `enabled` or `disabled`."
26431+
}
26432+
}
26433+
},
2642426434
"secret_scanning": {
2642526435
"type": "object",
2642626436
"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).\"",
@@ -102248,6 +102258,18 @@
102248102258
}
102249102259
}
102250102260
},
102261+
"code_security": {
102262+
"type": "object",
102263+
"properties": {
102264+
"status": {
102265+
"type": "string",
102266+
"enum": [
102267+
"enabled",
102268+
"disabled"
102269+
]
102270+
}
102271+
}
102272+
},
102251102273
"dependabot_security_updates": {
102252102274
"description": "Enable or disable Dependabot security updates for the repository.",
102253102275
"type": "object",

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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19169,6 +19169,14 @@ paths:
1916919169
status:
1917019170
type: string
1917119171
description: Can be `enabled` or `disabled`.
19172+
code_security:
19173+
type: object
19174+
description: Use the `status` property to enable or disable
19175+
GitHub Code Security for this repository.
19176+
properties:
19177+
status:
19178+
type: string
19179+
description: Can be `enabled` or `disabled`.
1917219180
secret_scanning:
1917319181
type: object
1917419182
description: Use the `status` property to enable or disable
@@ -74077,6 +74085,14 @@ components:
7407774085
enum:
7407874086
- enabled
7407974087
- disabled
74088+
code_security:
74089+
type: object
74090+
properties:
74091+
status:
74092+
type: string
74093+
enum:
74094+
- enabled
74095+
- disabled
7408074096
dependabot_security_updates:
7408174097
description: Enable or disable Dependabot security updates for the repository.
7408274098
type: object

0 commit comments

Comments
 (0)