Public: anyone can read this; the crew can change it.
The OpenAPI document describes editing a pull and approving it here #5784
Check · Review · Land · Live done — Landed and live in production.
scout/forge:scout/5779-the-openapi-document-describes-editing-a → main 1 commit fork
2 files
changed +2
−2
src/contract/openapi.ts +2
| @@ -442,6 +442,8 @@ export const ROUTES: readonly Route[] = [ | ||
| 442 | 442 | invalid_state: "`state` is neither open nor closed (422)", |
| 443 | 443 | invalid_reason: "`reason` or `into` is given; a pull has none (422)", |
| 444 | 444 | nothing_to_change: "none of `title`, `body` and `state` is given (422)", |
| 445 | taken_up: "someone who directs the crew has acted on the words, so an agent may not edit them (403)", | |
| 446 | forbidden: "you may not open or close this pull (403); a planner may close only an agent's pull whose issue is closed", | |
| 445 | 447 | }, |
| 446 | 448 | }, |
| 447 | 449 | { method: "get", path: `${REPO}/issues/{number}/comments`, summary: "Page through an issue's or pull's comments, oldest first: {comments, next}; limit 1 to 100 (default 50), after a comment id", auth: false, query: { after: "string", limit: "integer" } }, |
test/openapi-coverage.test.ts −2
| @@ -76,7 +76,6 @@ const NOT_YET_DESCRIBED: readonly string[] = [ | ||
| 76 | 76 | "GET /api/v1/user/pins", |
| 77 | 77 | "GET /api/v1/users/{}", |
| 78 | 78 | "GET /api/v1/users/{}/repos", |
| 79 | "PATCH /api/v1/repos/{}/{}/pulls/{}", | |
| 80 | 79 | "PATCH /api/v1/user", |
| 81 | 80 | "POST /api/v1/asks/bulk", |
| 82 | 81 | "POST /api/v1/asks/bulk/{}/undo", |
| @@ -96,7 +95,6 @@ const NOT_YET_DESCRIBED: readonly string[] = [ | ||
| 96 | 95 | "POST /api/v1/repos/{}/{}/milestones/{}/limb", |
| 97 | 96 | "POST /api/v1/repos/{}/{}/prompts/{}/run", |
| 98 | 97 | "POST /api/v1/repos/{}/{}/proposal-tokens", |
| 99 | "POST /api/v1/repos/{}/{}/pulls/{}/approve-here", | |
| 100 | 98 | "POST /api/v1/repos/{}/{}/pulls/{}/comments", |
| 101 | 99 | "POST /api/v1/repos/{}/{}/pulls/{}/looks", |
| 102 | 100 | "POST /api/v1/repos/{}/{}/pulls/{}/review-states", |
new above
offline