Skip to content

Commit

Permalink
Merge pull request #4009 from github/openapi-update-cbbd40987428ec941…
Browse files Browse the repository at this point in the history
…eb6627ebb5a349e407d7b0df755012d52f64188147fa2b8

Update OpenAPI 3.0 Descriptions
  • Loading branch information
jencarlucci committed Sep 26, 2024
2 parents e4dffbf + 9410e8c commit c958458
Show file tree
Hide file tree
Showing 16 changed files with 240 additions and 24 deletions.
18 changes: 16 additions & 2 deletions descriptions/api.github.com/api.github.com.2022-11-28.json
Original file line number Diff line number Diff line change
Expand Up @@ -1702,7 +1702,7 @@
"tags": [
"classroom"
],
"operationId": "classroom/list-accepted-assigments-for-an-assignment",
"operationId": "classroom/list-accepted-assignments-for-an-assignment",
"externalDocs": {
"description": "API method documentation",
"url": "https://docs.github.com/rest/classroom/classroom#list-accepted-assignments-for-an-assignment"
Expand Down Expand Up @@ -188012,7 +188012,21 @@
]
},
"reason": {
"type": "string"
"type": "string",
"enum": [
"UNKNOWN_REMOVAL_REASON",
"MANUAL",
"MERGE",
"MERGE_CONFLICT",
"CI_FAILURE",
"CI_TIMEOUT",
"ALREADY_MERGED",
"QUEUE_CLEARED",
"ROLL_BACK",
"BRANCH_PROTECTIONS",
"GIT_TREE_INVALID",
"INVALID_MERGE_COMMIT"
]
},
"repository": {
"$ref": "#/components/schemas/repository-webhooks"
Expand Down
15 changes: 14 additions & 1 deletion descriptions/api.github.com/api.github.com.2022-11-28.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1188,7 +1188,7 @@ paths:
the assignment.
tags:
- classroom
operationId: classroom/list-accepted-assigments-for-an-assignment
operationId: classroom/list-accepted-assignments-for-an-assignment
externalDocs:
description: API method documentation
url: https://docs.github.com/rest/classroom/classroom#list-accepted-assignments-for-an-assignment
Expand Down Expand Up @@ -139403,6 +139403,19 @@ components:
- draft
reason:
type: string
enum:
- UNKNOWN_REMOVAL_REASON
- MANUAL
- MERGE
- MERGE_CONFLICT
- CI_FAILURE
- CI_TIMEOUT
- ALREADY_MERGED
- QUEUE_CLEARED
- ROLL_BACK
- BRANCH_PROTECTIONS
- GIT_TREE_INVALID
- INVALID_MERGE_COMMIT
repository:
"$ref": "#/components/schemas/repository-webhooks"
sender:
Expand Down
Loading

0 comments on commit c958458

Please sign in to comment.