Skip to content

Commit 87e12a8

Browse files
authored
Merge pull request #773 from github/openapi-update-339db674a6978a8e99ebed2b61f1d10628421707af8d64f5d20d11ea495a27bd
Update OpenAPI 3.0 Descriptions
2 parents a79eeaf + 7223517 commit 87e12a8

File tree

4 files changed

+112
-0
lines changed

4 files changed

+112
-0
lines changed

descriptions/github.ae/dereferenced/github.ae.deref.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78155,6 +78155,33 @@
7815578155
"internal"
7815678156
]
7815778157
},
78158+
"security_and_analysis": {
78159+
"type": "object",
78160+
"description": "Specify which security and analysis features to enable or disable. For example, to enable GitHub Advanced Security, use this data in the body of the PATCH request: `{\"security_and_analysis\": {\"advanced_security\": {\"status\": \"enabled\"}}}`. If you have admin permissions for a private repository covered by an Advanced Security license, you can check which security and analysis features are currently enabled by using a `GET /repos/{owner}/{repo}` request.",
78161+
"nullable": true,
78162+
"properties": {
78163+
"advanced_security": {
78164+
"type": "object",
78165+
"description": "Use the `status` property to enable or disable GitHub Advanced Security for this repository. For more information, see \"[About GitHub Advanced Security](/github/getting-started-with-github/learning-about-github/about-github-advanced-security).\"",
78166+
"properties": {
78167+
"status": {
78168+
"type": "string",
78169+
"description": "Can be `enabled` or `disabled`."
78170+
}
78171+
}
78172+
},
78173+
"secret_scanning": {
78174+
"type": "object",
78175+
"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).\"",
78176+
"properties": {
78177+
"status": {
78178+
"type": "string",
78179+
"description": "Can be `enabled` or `disabled`."
78180+
}
78181+
}
78182+
}
78183+
}
78184+
},
7815878185
"has_issues": {
7815978186
"type": "boolean",
7816078187
"description": "Either `true` to enable issues for this repository or `false` to disable them.",

descriptions/github.ae/dereferenced/github.ae.deref.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19656,6 +19656,35 @@ paths:
1965619656
- public
1965719657
- private
1965819658
- internal
19659+
security_and_analysis:
19660+
type: object
19661+
description: 'Specify which security and analysis features to enable
19662+
or disable. For example, to enable GitHub Advanced Security, use
19663+
this data in the body of the PATCH request: `{"security_and_analysis":
19664+
{"advanced_security": {"status": "enabled"}}}`. If you have admin
19665+
permissions for a private repository covered by an Advanced Security
19666+
license, you can check which security and analysis features are
19667+
currently enabled by using a `GET /repos/{owner}/{repo}` request.'
19668+
nullable: true
19669+
properties:
19670+
advanced_security:
19671+
type: object
19672+
description: Use the `status` property to enable or disable
19673+
GitHub Advanced Security for this repository. For more information,
19674+
see "[About GitHub Advanced Security](/github/getting-started-with-github/learning-about-github/about-github-advanced-security)."
19675+
properties:
19676+
status:
19677+
type: string
19678+
description: Can be `enabled` or `disabled`.
19679+
secret_scanning:
19680+
type: object
19681+
description: Use the `status` property to enable or disable
19682+
secret scanning for this repository. For more information,
19683+
see "[About secret scanning](/code-security/secret-security/about-secret-scanning)."
19684+
properties:
19685+
status:
19686+
type: string
19687+
description: Can be `enabled` or `disabled`.
1965919688
has_issues:
1966019689
type: boolean
1966119690
description: Either `true` to enable issues for this repository

descriptions/github.ae/github.ae.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13909,6 +13909,33 @@
1390913909
"internal"
1391013910
]
1391113911
},
13912+
"security_and_analysis": {
13913+
"type": "object",
13914+
"description": "Specify which security and analysis features to enable or disable. For example, to enable GitHub Advanced Security, use this data in the body of the PATCH request: `{\"security_and_analysis\": {\"advanced_security\": {\"status\": \"enabled\"}}}`. If you have admin permissions for a private repository covered by an Advanced Security license, you can check which security and analysis features are currently enabled by using a `GET /repos/{owner}/{repo}` request.",
13915+
"nullable": true,
13916+
"properties": {
13917+
"advanced_security": {
13918+
"type": "object",
13919+
"description": "Use the `status` property to enable or disable GitHub Advanced Security for this repository. For more information, see \"[About GitHub Advanced Security](/github/getting-started-with-github/learning-about-github/about-github-advanced-security).\"",
13920+
"properties": {
13921+
"status": {
13922+
"type": "string",
13923+
"description": "Can be `enabled` or `disabled`."
13924+
}
13925+
}
13926+
},
13927+
"secret_scanning": {
13928+
"type": "object",
13929+
"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).\"",
13930+
"properties": {
13931+
"status": {
13932+
"type": "string",
13933+
"description": "Can be `enabled` or `disabled`."
13934+
}
13935+
}
13936+
}
13937+
}
13938+
},
1391213939
"has_issues": {
1391313940
"type": "boolean",
1391413941
"description": "Either `true` to enable issues for this repository or `false` to disable them.",

descriptions/github.ae/github.ae.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9898,6 +9898,35 @@ paths:
98989898
- public
98999899
- private
99009900
- internal
9901+
security_and_analysis:
9902+
type: object
9903+
description: 'Specify which security and analysis features to enable
9904+
or disable. For example, to enable GitHub Advanced Security, use
9905+
this data in the body of the PATCH request: `{"security_and_analysis":
9906+
{"advanced_security": {"status": "enabled"}}}`. If you have admin
9907+
permissions for a private repository covered by an Advanced Security
9908+
license, you can check which security and analysis features are
9909+
currently enabled by using a `GET /repos/{owner}/{repo}` request.'
9910+
nullable: true
9911+
properties:
9912+
advanced_security:
9913+
type: object
9914+
description: Use the `status` property to enable or disable
9915+
GitHub Advanced Security for this repository. For more information,
9916+
see "[About GitHub Advanced Security](/github/getting-started-with-github/learning-about-github/about-github-advanced-security)."
9917+
properties:
9918+
status:
9919+
type: string
9920+
description: Can be `enabled` or `disabled`.
9921+
secret_scanning:
9922+
type: object
9923+
description: Use the `status` property to enable or disable
9924+
secret scanning for this repository. For more information,
9925+
see "[About secret scanning](/code-security/secret-security/about-secret-scanning)."
9926+
properties:
9927+
status:
9928+
type: string
9929+
description: Can be `enabled` or `disabled`.
99019930
has_issues:
99029931
type: boolean
99039932
description: Either `true` to enable issues for this repository

0 commit comments

Comments
 (0)