diff --git a/lib/rest/static/decorated/api.github.com.json b/lib/rest/static/decorated/api.github.com.json index 4a59a8a454..a81766c2bc 100644 --- a/lib/rest/static/decorated/api.github.com.json +++ b/lib/rest/static/decorated/api.github.com.json @@ -44178,7 +44178,7 @@ } ], "summary": "Get the code of conduct for a repository", - "description": "This method returns the contents of the repository's code of conduct file, if one is detected.", + "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.", "tags": [ "codes-of-conduct" ], @@ -44206,7 +44206,7 @@ "categoryLabel": "Codes of conduct", "notes": [], "bodyParameters": [], - "descriptionHTML": "

This method returns the contents of the repository's code of conduct file, if one is detected.

", + "descriptionHTML": "

Returns the contents of the repository's code of conduct file, if one is detected.

\n

A 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.

", "responses": [ { "httpStatusCode": "200", @@ -44253,7 +44253,7 @@ } ], "summary": "Get community profile metrics", - "description": "This endpoint will return all community profile metrics, including an\noverall health score, repository description, the presence of documentation, detected\ncode of conduct, detected license, and the presence of ISSUE\\_TEMPLATE, PULL\\_REQUEST\\_TEMPLATE,\nREADME, and CONTRIBUTING files.\n\n`content_reports_enabled` is only returned for organization-owned repositories.", + "description": "This endpoint will return all community profile metrics, including an\noverall health score, repository description, the presence of documentation, detected\ncode of conduct, detected license, and the presence of ISSUE\\_TEMPLATE, PULL\\_REQUEST\\_TEMPLATE,\nREADME, and CONTRIBUTING files.\n\nThe `health_percentage` score is defined as a percentage of how many of\nthese four documents are present: README, CONTRIBUTING, LICENSE, and\nCODE_OF_CONDUCT. For example, if all four documents are present, then\nthe `health_percentage` is `100`. If only one is present, then the\n`health_percentage` is `25`.\n\n`content_reports_enabled` is only returned for organization-owned repositories.", "tags": [ "repos" ], @@ -44275,7 +44275,7 @@ "subcategoryLabel": "Community", "notes": [], "bodyParameters": [], - "descriptionHTML": "

This endpoint will return all community profile metrics, including an\noverall health score, repository description, the presence of documentation, detected\ncode of conduct, detected license, and the presence of ISSUE_TEMPLATE, PULL_REQUEST_TEMPLATE,\nREADME, and CONTRIBUTING files.

\n

content_reports_enabled is only returned for organization-owned repositories.

", + "descriptionHTML": "

This endpoint will return all community profile metrics, including an\noverall health score, repository description, the presence of documentation, detected\ncode of conduct, detected license, and the presence of ISSUE_TEMPLATE, PULL_REQUEST_TEMPLATE,\nREADME, and CONTRIBUTING files.

\n

The health_percentage score is defined as a percentage of how many of\nthese four documents are present: README, CONTRIBUTING, LICENSE, and\nCODE_OF_CONDUCT. For example, if all four documents are present, then\nthe health_percentage is 100. If only one is present, then the\nhealth_percentage is 25.

\n

content_reports_enabled is only returned for organization-owned repositories.

", "responses": [ { "httpStatusCode": "200", diff --git a/lib/rest/static/decorated/ghes-2.18.json b/lib/rest/static/decorated/ghes-2.18.json index f21804fe47..b8fcf8ee96 100644 --- a/lib/rest/static/decorated/ghes-2.18.json +++ b/lib/rest/static/decorated/ghes-2.18.json @@ -29735,7 +29735,7 @@ } ], "summary": "Get the code of conduct for a repository", - "description": "This method returns the contents of the repository's code of conduct file, if one is detected.", + "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.", "tags": [ "codes-of-conduct" ], @@ -29763,7 +29763,7 @@ "categoryLabel": "Codes of conduct", "notes": [], "bodyParameters": [], - "descriptionHTML": "

This method returns the contents of the repository's code of conduct file, if one is detected.

", + "descriptionHTML": "

Returns the contents of the repository's code of conduct file, if one is detected.

\n

A 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.

", "responses": [ { "httpStatusCode": "200", diff --git a/lib/rest/static/decorated/ghes-2.19.json b/lib/rest/static/decorated/ghes-2.19.json index 33c390d36f..e787f272a1 100644 --- a/lib/rest/static/decorated/ghes-2.19.json +++ b/lib/rest/static/decorated/ghes-2.19.json @@ -30298,7 +30298,7 @@ } ], "summary": "Get the code of conduct for a repository", - "description": "This method returns the contents of the repository's code of conduct file, if one is detected.", + "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.", "tags": [ "codes-of-conduct" ], @@ -30326,7 +30326,7 @@ "categoryLabel": "Codes of conduct", "notes": [], "bodyParameters": [], - "descriptionHTML": "

This method returns the contents of the repository's code of conduct file, if one is detected.

", + "descriptionHTML": "

Returns the contents of the repository's code of conduct file, if one is detected.

\n

A 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.

", "responses": [ { "httpStatusCode": "200", diff --git a/lib/rest/static/decorated/ghes-2.20.json b/lib/rest/static/decorated/ghes-2.20.json index d3bcbc8564..ec95d0da05 100644 --- a/lib/rest/static/decorated/ghes-2.20.json +++ b/lib/rest/static/decorated/ghes-2.20.json @@ -30765,7 +30765,7 @@ } ], "summary": "Get the code of conduct for a repository", - "description": "This method returns the contents of the repository's code of conduct file, if one is detected.", + "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.", "tags": [ "codes-of-conduct" ], @@ -30793,7 +30793,7 @@ "categoryLabel": "Codes of conduct", "notes": [], "bodyParameters": [], - "descriptionHTML": "

This method returns the contents of the repository's code of conduct file, if one is detected.

", + "descriptionHTML": "

Returns the contents of the repository's code of conduct file, if one is detected.

\n

A 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.

", "responses": [ { "httpStatusCode": "200", diff --git a/lib/rest/static/decorated/ghes-2.21.json b/lib/rest/static/decorated/ghes-2.21.json index 01a3837de8..9660f44b54 100644 --- a/lib/rest/static/decorated/ghes-2.21.json +++ b/lib/rest/static/decorated/ghes-2.21.json @@ -34325,7 +34325,7 @@ } ], "summary": "Get the code of conduct for a repository", - "description": "This method returns the contents of the repository's code of conduct file, if one is detected.", + "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.", "tags": [ "codes-of-conduct" ], @@ -34353,7 +34353,7 @@ "categoryLabel": "Codes of conduct", "notes": [], "bodyParameters": [], - "descriptionHTML": "

This method returns the contents of the repository's code of conduct file, if one is detected.

", + "descriptionHTML": "

Returns the contents of the repository's code of conduct file, if one is detected.

\n

A 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.

", "responses": [ { "httpStatusCode": "200", diff --git a/lib/rest/static/decorated/ghes-2.22.json b/lib/rest/static/decorated/ghes-2.22.json index d2f6bf5949..3755c0ed45 100644 --- a/lib/rest/static/decorated/ghes-2.22.json +++ b/lib/rest/static/decorated/ghes-2.22.json @@ -41817,7 +41817,7 @@ } ], "summary": "Get the code of conduct for a repository", - "description": "This method returns the contents of the repository's code of conduct file, if one is detected.", + "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.", "tags": [ "codes-of-conduct" ], @@ -41845,7 +41845,7 @@ "categoryLabel": "Codes of conduct", "notes": [], "bodyParameters": [], - "descriptionHTML": "

This method returns the contents of the repository's code of conduct file, if one is detected.

", + "descriptionHTML": "

Returns the contents of the repository's code of conduct file, if one is detected.

\n

A 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.

", "responses": [ { "httpStatusCode": "200", diff --git a/lib/rest/static/decorated/github.ae.json b/lib/rest/static/decorated/github.ae.json index 073a92d2d4..7317dd8ca0 100644 --- a/lib/rest/static/decorated/github.ae.json +++ b/lib/rest/static/decorated/github.ae.json @@ -32207,7 +32207,7 @@ } ], "summary": "Get the code of conduct for a repository", - "description": "This method returns the contents of the repository's code of conduct file, if one is detected.", + "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.", "tags": [ "codes-of-conduct" ], @@ -32235,7 +32235,7 @@ "categoryLabel": "Codes of conduct", "notes": [], "bodyParameters": [], - "descriptionHTML": "

This method returns the contents of the repository's code of conduct file, if one is detected.

", + "descriptionHTML": "

Returns the contents of the repository's code of conduct file, if one is detected.

\n

A 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.

", "responses": [ { "httpStatusCode": "200", diff --git a/lib/rest/static/dereferenced/api.github.com.deref.json b/lib/rest/static/dereferenced/api.github.com.deref.json index 54b258a9fc..bc52ab7682 100644 --- a/lib/rest/static/dereferenced/api.github.com.deref.json +++ b/lib/rest/static/dereferenced/api.github.com.deref.json @@ -117922,6 +117922,15 @@ "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "started_at": { @@ -118643,6 +118652,15 @@ "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "started_at": { @@ -119488,6 +119506,15 @@ "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "started_at": { @@ -120272,11 +120299,25 @@ "status": { "type": "string", "example": "completed", + "enum": [ + "queued", + "in_progress", + "completed" + ], "nullable": true }, "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "url": { @@ -122751,11 +122792,25 @@ "status": { "type": "string", "example": "completed", + "enum": [ + "queued", + "in_progress", + "completed" + ], "nullable": true }, "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "url": { @@ -124092,6 +124147,15 @@ "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "started_at": { @@ -136641,6 +136705,15 @@ "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "started_at": { @@ -137304,11 +137377,25 @@ "status": { "type": "string", "example": "completed", + "enum": [ + "queued", + "in_progress", + "completed" + ], "nullable": true }, "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "url": { @@ -139585,7 +139672,7 @@ "/repos/{owner}/{repo}/community/code_of_conduct": { "get": { "summary": "Get the code of conduct for a repository", - "description": "This method returns the contents of the repository's code of conduct file, if one is detected.", + "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.", "tags": [ "codes-of-conduct" ], @@ -139685,7 +139772,7 @@ "/repos/{owner}/{repo}/community/profile": { "get": { "summary": "Get community profile metrics", - "description": "This endpoint will return all community profile metrics, including an\noverall health score, repository description, the presence of documentation, detected\ncode of conduct, detected license, and the presence of ISSUE\\_TEMPLATE, PULL\\_REQUEST\\_TEMPLATE,\nREADME, and CONTRIBUTING files.\n\n`content_reports_enabled` is only returned for organization-owned repositories.", + "description": "This endpoint will return all community profile metrics, including an\noverall health score, repository description, the presence of documentation, detected\ncode of conduct, detected license, and the presence of ISSUE\\_TEMPLATE, PULL\\_REQUEST\\_TEMPLATE,\nREADME, and CONTRIBUTING files.\n\nThe `health_percentage` score is defined as a percentage of how many of\nthese four documents are present: README, CONTRIBUTING, LICENSE, and\nCODE_OF_CONDUCT. For example, if all four documents are present, then\nthe `health_percentage` is `100`. If only one is present, then the\n`health_percentage` is `25`.\n\n`content_reports_enabled` is only returned for organization-owned repositories.", "tags": [ "repos" ], diff --git a/lib/rest/static/dereferenced/ghes-2.18.deref.json b/lib/rest/static/dereferenced/ghes-2.18.deref.json index 23bcffac88..734c596d8c 100644 --- a/lib/rest/static/dereferenced/ghes-2.18.deref.json +++ b/lib/rest/static/dereferenced/ghes-2.18.deref.json @@ -75238,6 +75238,15 @@ "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "started_at": { @@ -75958,6 +75967,15 @@ "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "started_at": { @@ -76802,6 +76820,15 @@ "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "started_at": { @@ -77589,11 +77616,25 @@ "status": { "type": "string", "example": "completed", + "enum": [ + "queued", + "in_progress", + "completed" + ], "nullable": true }, "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "url": { @@ -80041,11 +80082,25 @@ "status": { "type": "string", "example": "completed", + "enum": [ + "queued", + "in_progress", + "completed" + ], "nullable": true }, "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "url": { @@ -81372,6 +81427,15 @@ "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "started_at": { @@ -92332,6 +92396,15 @@ "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "started_at": { @@ -92994,11 +93067,25 @@ "status": { "type": "string", "example": "completed", + "enum": [ + "queued", + "in_progress", + "completed" + ], "nullable": true }, "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "url": { @@ -95240,7 +95327,7 @@ "/repos/{owner}/{repo}/community/code_of_conduct": { "get": { "summary": "Get the code of conduct for a repository", - "description": "This method returns the contents of the repository's code of conduct file, if one is detected.", + "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.", "tags": [ "codes-of-conduct" ], diff --git a/lib/rest/static/dereferenced/ghes-2.19.deref.json b/lib/rest/static/dereferenced/ghes-2.19.deref.json index f10ca9b08d..a7b3cec2c9 100644 --- a/lib/rest/static/dereferenced/ghes-2.19.deref.json +++ b/lib/rest/static/dereferenced/ghes-2.19.deref.json @@ -78162,6 +78162,15 @@ "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "started_at": { @@ -78887,6 +78896,15 @@ "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "started_at": { @@ -79736,6 +79754,15 @@ "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "started_at": { @@ -80528,11 +80555,25 @@ "status": { "type": "string", "example": "completed", + "enum": [ + "queued", + "in_progress", + "completed" + ], "nullable": true }, "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "url": { @@ -82985,11 +83026,25 @@ "status": { "type": "string", "example": "completed", + "enum": [ + "queued", + "in_progress", + "completed" + ], "nullable": true }, "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "url": { @@ -84321,6 +84376,15 @@ "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "started_at": { @@ -95286,6 +95350,15 @@ "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "started_at": { @@ -95953,11 +96026,25 @@ "status": { "type": "string", "example": "completed", + "enum": [ + "queued", + "in_progress", + "completed" + ], "nullable": true }, "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "url": { @@ -98204,7 +98291,7 @@ "/repos/{owner}/{repo}/community/code_of_conduct": { "get": { "summary": "Get the code of conduct for a repository", - "description": "This method returns the contents of the repository's code of conduct file, if one is detected.", + "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.", "tags": [ "codes-of-conduct" ], diff --git a/lib/rest/static/dereferenced/ghes-2.20.deref.json b/lib/rest/static/dereferenced/ghes-2.20.deref.json index ebba3dc48a..9ffda209ee 100644 --- a/lib/rest/static/dereferenced/ghes-2.20.deref.json +++ b/lib/rest/static/dereferenced/ghes-2.20.deref.json @@ -79313,6 +79313,15 @@ "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "started_at": { @@ -80038,6 +80047,15 @@ "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "started_at": { @@ -80887,6 +80905,15 @@ "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "started_at": { @@ -81679,11 +81706,25 @@ "status": { "type": "string", "example": "completed", + "enum": [ + "queued", + "in_progress", + "completed" + ], "nullable": true }, "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "url": { @@ -84149,11 +84190,25 @@ "status": { "type": "string", "example": "completed", + "enum": [ + "queued", + "in_progress", + "completed" + ], "nullable": true }, "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "url": { @@ -85489,6 +85544,15 @@ "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "started_at": { @@ -96475,6 +96539,15 @@ "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "started_at": { @@ -97142,11 +97215,25 @@ "status": { "type": "string", "example": "completed", + "enum": [ + "queued", + "in_progress", + "completed" + ], "nullable": true }, "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "url": { @@ -99400,7 +99487,7 @@ "/repos/{owner}/{repo}/community/code_of_conduct": { "get": { "summary": "Get the code of conduct for a repository", - "description": "This method returns the contents of the repository's code of conduct file, if one is detected.", + "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.", "tags": [ "codes-of-conduct" ], diff --git a/lib/rest/static/dereferenced/ghes-2.21.deref.json b/lib/rest/static/dereferenced/ghes-2.21.deref.json index 0a7a2729c6..1607220352 100644 --- a/lib/rest/static/dereferenced/ghes-2.21.deref.json +++ b/lib/rest/static/dereferenced/ghes-2.21.deref.json @@ -88332,6 +88332,15 @@ "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "started_at": { @@ -89057,6 +89066,15 @@ "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "started_at": { @@ -89906,6 +89924,15 @@ "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "started_at": { @@ -90698,11 +90725,25 @@ "status": { "type": "string", "example": "completed", + "enum": [ + "queued", + "in_progress", + "completed" + ], "nullable": true }, "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "url": { @@ -93182,11 +93223,25 @@ "status": { "type": "string", "example": "completed", + "enum": [ + "queued", + "in_progress", + "completed" + ], "nullable": true }, "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "url": { @@ -94526,6 +94581,15 @@ "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "started_at": { @@ -105602,6 +105666,15 @@ "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "started_at": { @@ -106269,11 +106342,25 @@ "status": { "type": "string", "example": "completed", + "enum": [ + "queued", + "in_progress", + "completed" + ], "nullable": true }, "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "url": { @@ -108534,7 +108621,7 @@ "/repos/{owner}/{repo}/community/code_of_conduct": { "get": { "summary": "Get the code of conduct for a repository", - "description": "This method returns the contents of the repository's code of conduct file, if one is detected.", + "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.", "tags": [ "codes-of-conduct" ], diff --git a/lib/rest/static/dereferenced/ghes-2.22.deref.json b/lib/rest/static/dereferenced/ghes-2.22.deref.json index 084485c2eb..07410318d4 100644 --- a/lib/rest/static/dereferenced/ghes-2.22.deref.json +++ b/lib/rest/static/dereferenced/ghes-2.22.deref.json @@ -108020,6 +108020,15 @@ "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "started_at": { @@ -108745,6 +108754,15 @@ "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "started_at": { @@ -109594,6 +109612,15 @@ "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "started_at": { @@ -110386,11 +110413,25 @@ "status": { "type": "string", "example": "completed", + "enum": [ + "queued", + "in_progress", + "completed" + ], "nullable": true }, "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "url": { @@ -112873,11 +112914,25 @@ "status": { "type": "string", "example": "completed", + "enum": [ + "queued", + "in_progress", + "completed" + ], "nullable": true }, "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "url": { @@ -114218,6 +114273,15 @@ "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "started_at": { @@ -126775,6 +126839,15 @@ "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "started_at": { @@ -127442,11 +127515,25 @@ "status": { "type": "string", "example": "completed", + "enum": [ + "queued", + "in_progress", + "completed" + ], "nullable": true }, "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "url": { @@ -129727,7 +129814,7 @@ "/repos/{owner}/{repo}/community/code_of_conduct": { "get": { "summary": "Get the code of conduct for a repository", - "description": "This method returns the contents of the repository's code of conduct file, if one is detected.", + "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.", "tags": [ "codes-of-conduct" ], diff --git a/lib/rest/static/dereferenced/github.ae.deref.json b/lib/rest/static/dereferenced/github.ae.deref.json index 32974ce025..bdbf726060 100644 --- a/lib/rest/static/dereferenced/github.ae.deref.json +++ b/lib/rest/static/dereferenced/github.ae.deref.json @@ -82494,6 +82494,15 @@ "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "started_at": { @@ -83215,6 +83224,15 @@ "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "started_at": { @@ -84060,6 +84078,15 @@ "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "started_at": { @@ -84844,11 +84871,25 @@ "status": { "type": "string", "example": "completed", + "enum": [ + "queued", + "in_progress", + "completed" + ], "nullable": true }, "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "url": { @@ -87323,11 +87364,25 @@ "status": { "type": "string", "example": "completed", + "enum": [ + "queued", + "in_progress", + "completed" + ], "nullable": true }, "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "url": { @@ -88664,6 +88719,15 @@ "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "started_at": { @@ -99753,6 +99817,15 @@ "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "started_at": { @@ -100416,11 +100489,25 @@ "status": { "type": "string", "example": "completed", + "enum": [ + "queued", + "in_progress", + "completed" + ], "nullable": true }, "conclusion": { "type": "string", "example": "neutral", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], "nullable": true }, "url": { @@ -102697,7 +102784,7 @@ "/repos/{owner}/{repo}/community/code_of_conduct": { "get": { "summary": "Get the code of conduct for a repository", - "description": "This method returns the contents of the repository's code of conduct file, if one is detected.", + "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.", "tags": [ "codes-of-conduct" ],