Skip to content

Commit f580264

Browse files
committed
fix: POST /repos/{owner}/{repo}/community/code_of_conduct is GET /repos/{owner}/{repo}/community/code_of_conduct (#168)
1 parent d141e56 commit f580264

File tree

14 files changed

+61
-61
lines changed

14 files changed

+61
-61
lines changed

cache/api.github.jpy.wang.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"openapi": "3.0.3",
33
"info": {
4-
"version": "5.6.4",
4+
"version": "5.6.5",
55
"title": "GitHub's official OpenAPI spec + Octokit extension",
66
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
77
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
@@ -39354,7 +39354,7 @@
3935439354
}
3935539355
},
3935639356
"/repos/{owner}/{repo}/community/code_of_conduct": {
39357-
"post": {
39357+
"get": {
3935839358
"summary": "Get the code of conduct for a repository",
3935939359
"description": "Returns the contents of the repository's code of conduct file, if one is detected.\n\nA code of conduct is detected if there is a file named `CODE_OF_CONDUCT` in the root directory of the repository. GitHub detects which code of conduct it is using fuzzy matching.",
3936039360
"tags": ["codes-of-conduct"],

cache/ghes-3.0.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"openapi": "3.0.3",
33
"info": {
4-
"version": "5.6.4",
4+
"version": "5.6.5",
55
"title": "GitHub's official OpenAPI spec + Octokit extension",
66
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
77
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
@@ -5511,7 +5511,7 @@
55115511
"category": "gists",
55125512
"subcategory": null
55135513
},
5514-
"x-octokit": { "diff": { "ghes-3.1.json": { "type": "changed" } } }
5514+
"x-octokit": {}
55155515
}
55165516
},
55175517
"/gists/public": {
@@ -5724,7 +5724,7 @@
57245724
"category": "gists",
57255725
"subcategory": null
57265726
},
5727-
"x-octokit": { "diff": { "ghes-3.1.json": { "type": "changed" } } }
5727+
"x-octokit": {}
57285728
},
57295729
"delete": {
57305730
"summary": "Delete a gist",
@@ -26258,7 +26258,7 @@
2625826258
"category": "pulls",
2625926259
"subcategory": null
2626026260
},
26261-
"x-octokit": { "diff": { "ghes-3.1.json": { "type": "changed" } } }
26261+
"x-octokit": {}
2626226262
}
2626326263
},
2626426264
"/repos/{owner}/{repo}/pulls/comments": {
@@ -26767,7 +26767,7 @@
2676726767
"category": "pulls",
2676826768
"subcategory": null
2676926769
},
26770-
"x-octokit": { "diff": { "ghes-3.1.json": { "type": "changed" } } }
26770+
"x-octokit": {}
2677126771
}
2677226772
},
2677326773
"/repos/{owner}/{repo}/pulls/{pull_number}/comments": {
@@ -27381,7 +27381,7 @@
2738127381
"category": "pulls",
2738227382
"subcategory": "review-requests"
2738327383
},
27384-
"x-octokit": { "diff": { "ghes-3.1.json": { "type": "changed" } } }
27384+
"x-octokit": {}
2738527385
},
2738627386
"delete": {
2738727387
"summary": "Remove requested reviewers from a pull request",
@@ -32543,7 +32543,7 @@
3254332543
"category": "users",
3254432544
"subcategory": null
3254532545
},
32546-
"x-octokit": { "diff": { "ghes-3.1.json": { "type": "changed" } } }
32546+
"x-octokit": {}
3254732547
}
3254832548
},
3254932549
"/user/emails": {

0 commit comments

Comments
 (0)