Skip to content

Commit

Permalink
fix: remove defunkt `GET /repos/{owner}/{repo}/community/code_of_cond…
Browse files Browse the repository at this point in the history
…uct`

API
  • Loading branch information
timrogers committed Jul 2, 2022
1 parent 3bd42b3 commit e937ce6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 19 deletions.
11 changes: 0 additions & 11 deletions scripts/update-endpoints/generated/endpoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -3889,17 +3889,6 @@
"previews": [],
"renamed": null
},
{
"method": "GET",
"url": "/repos/{owner}/{repo}/community/code_of_conduct",
"documentationUrl": "https://docs.github.com/rest/reference/codes-of-conduct#get-the-code-of-conduct-for-a-repository",
"parameters": [
{ "alias": null, "deprecated": null, "in": "PATH", "name": "owner" },
{ "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }
],
"previews": [{ "name": "scarlet-witch" }],
"renamed": null
},
{
"method": "PUT",
"url": "/user/codespaces/secrets/{secret_name}/repositories/{repository_id}",
Expand Down
8 changes: 0 additions & 8 deletions src/generated/Endpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2656,14 +2656,6 @@ export interface Endpoints {
"/repos/{owner}/{repo}/commits/{ref}/statuses",
"get"
>;
/**
* @see https://docs.github.com/rest/reference/codes-of-conduct#get-the-code-of-conduct-for-a-repository
*/
"GET /repos/{owner}/{repo}/community/code_of_conduct": Operation<
"/repos/{owner}/{repo}/community/code_of_conduct",
"get",
"scarlet-witch"
>;
/**
* @see https://docs.github.com/rest/reference/repos#get-community-profile-metrics
*/
Expand Down

0 comments on commit e937ce6

Please sign in to comment.