Skip to content

Commit 1a591f1

Browse files
authoredAug 17, 2023
Merge pull request #543 from php-api-clients/GitHubEnterpriseCloud/from-1.1.4-hash-b25145b198caa9051f49e85d468070fe-from-1.1.4-hash-b25145b198caa9051f49e85d468070fe
2 parents 3b44f07 + 9fb0aa8 commit 1a591f1

File tree

39 files changed

+1258
-126
lines changed

39 files changed

+1258
-126
lines changed
 

‎clients/GitHubEnterpriseCloud/README.md

+44
Original file line numberDiff line numberDiff line change
@@ -16939,6 +16939,50 @@ $client->operations()->repos()->getPagesHealthCheck( owner: 'generated',
1693916939
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-dns-health-check-for-github-pages).
1694016940

1694116941

16942+
### repos/enable-private-vulnerability-reporting
16943+
16944+
Enable private vulnerability reporting for a repository
16945+
16946+
Using the `call` method:
16947+
```php
16948+
$client->call('PUT /repos/{owner}/{repo}/private-vulnerability-reporting', [
16949+
'owner' => 'generated',
16950+
'repo' => 'generated',
16951+
]);
16952+
```
16953+
16954+
Operations method:
16955+
```php
16956+
$client->operations()->repos()->enablePrivateVulnerabilityReporting( owner: 'generated',
16957+
repo: 'generated',
16958+
);
16959+
```
16960+
16961+
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository).
16962+
16963+
16964+
### repos/disable-private-vulnerability-reporting
16965+
16966+
Disable private vulnerability reporting for a repository
16967+
16968+
Using the `call` method:
16969+
```php
16970+
$client->call('DELETE /repos/{owner}/{repo}/private-vulnerability-reporting', [
16971+
'owner' => 'generated',
16972+
'repo' => 'generated',
16973+
]);
16974+
```
16975+
16976+
Operations method:
16977+
```php
16978+
$client->operations()->repos()->disablePrivateVulnerabilityReporting( owner: 'generated',
16979+
repo: 'generated',
16980+
);
16981+
```
16982+
16983+
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository).
16984+
16985+
1694216986
### projects/list-for-repo
1694316987

1694416988
List repository projects

‎clients/GitHubEnterpriseCloud/etc/openapi-client-generator.state

+1-1
Large diffs are not rendered by default.

‎clients/GitHubEnterpriseCloud/src/Client.php

+2-2
Large diffs are not rendered by default.

‎clients/GitHubEnterpriseCloud/src/ClientInterface.php

+2-2
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)