summaryrefslogtreecommitdiffstats
path: root/descriptions/api.github.com/api.github.com.yaml
diff options
context:
space:
mode:
authorgithub-openapi-bot <security+github-openapi-bot@github.com>2025-04-15 12:36:05 -0700
committergithub-openapi-bot <security+github-openapi-bot@github.com>2025-04-15 12:36:05 -0700
commitcd8f316c60c41d658eed633a42e7212e3cb31f90 (patch)
tree7076732552b57b22f53aec021ae2bfad1af09154 /descriptions/api.github.com/api.github.com.yaml
parent1cd73ab20b4ba8355d380bd1f422ddf49c47a7af (diff)
downloadrest-api-description-cd8f316c60c41d658eed633a42e7212e3cb31f90.tar.gz
rest-api-description-cd8f316c60c41d658eed633a42e7212e3cb31f90.zip
Update OpenAPI 3.0 Descriptions
Diffstat (limited to 'descriptions/api.github.com/api.github.com.yaml')
-rw-r--r--descriptions/api.github.com/api.github.com.yaml33
1 files changed, 25 insertions, 8 deletions
diff --git a/descriptions/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml
index 0be3e65de..be21a6101 100644
--- a/descriptions/api.github.com/api.github.com.yaml
+++ b/descriptions/api.github.com/api.github.com.yaml
@@ -1513,10 +1513,14 @@ paths:
maxLength: 255
advanced_security:
type: string
- description: The enablement status of GitHub Advanced Security
+ description: The enablement status of GitHub Advanced Security features.
+ `enabled` will enable both Code Security and Secret Protection
+ features.
enum:
- enabled
- disabled
+ - code_security
+ - secret_protection
default: disabled
dependency_graph:
type: string
@@ -1783,11 +1787,14 @@ paths:
maxLength: 255
advanced_security:
type: string
- description: The enablement status of GitHub Advanced Security.
- Must be set to enabled if you want to enable any GHAS settings.
+ description: The enablement status of GitHub Advanced Security features.
+ `enabled` will enable both Code Security and Secret Protection
+ features.
enum:
- enabled
- disabled
+ - code_security
+ - secret_protection
dependency_graph:
type: string
description: The enablement status of Dependency Graph
@@ -8267,10 +8274,14 @@ paths:
maxLength: 255
advanced_security:
type: string
- description: The enablement status of GitHub Advanced Security
+ description: The enablement status of GitHub Advanced Security features.
+ `enabled` will enable both Code Security and Secret Protection
+ features.
enum:
- enabled
- disabled
+ - code_security
+ - secret_protection
default: disabled
dependency_graph:
type: string
@@ -8624,10 +8635,14 @@ paths:
maxLength: 255
advanced_security:
type: string
- description: The enablement status of GitHub Advanced Security
+ description: The enablement status of GitHub Advanced Security features.
+ `enabled` will enable both Code Security and Secret Protection
+ features.
enum:
- enabled
- disabled
+ - code_security
+ - secret_protection
dependency_graph:
type: string
description: The enablement status of Dependency Graph
@@ -32642,7 +32657,8 @@ paths:
'204':
description: Response
'422':
- "$ref": "#/components/responses/validation_failed"
+ description: Validation failed, an attempt was made to delete the default
+ branch, or the endpoint has been spammed.
'409':
"$ref": "#/components/responses/conflict"
x-github:
@@ -71269,6 +71285,8 @@ components:
enum:
- enabled
- disabled
+ - code_security
+ - secret_protection
dependency_graph:
type: string
description: The enablement status of Dependency Graph
@@ -76470,7 +76488,7 @@ components:
type: object
properties:
assignee:
- "$ref": "#/components/schemas/simple-user"
+ "$ref": "#/components/schemas/nullable-simple-user"
organization:
"$ref": "#/components/schemas/nullable-organization-simple"
assigning_team:
@@ -76521,7 +76539,6 @@ components:
- enterprise
- unknown
required:
- - assignee
- created_at
additionalProperties: false
copilot-ide-code-completions: