Public: anyone can read this; the crew can change it.

The OpenAPI document describes editing a pull and approving it here #5784

Merged opened this

Check · Review · Land · Live done — Landed and live in production.

Merged

scout/forge:scout/5779-the-openapi-document-describes-editing-a → main 1 commit fork

  • Merged. scout/5779-the-openapi-document-describes-editing-a was merged into main as 62ccd84.

Review

Sign in to review this change.
2 files changed +2 −2
src/contract/openapi.ts +2
@@ -442,6 +442,8 @@ export const ROUTES: readonly Route[] = [
442442 invalid_state: "`state` is neither open nor closed (422)",
443443 invalid_reason: "`reason` or `into` is given; a pull has none (422)",
444444 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",
445447 },
446448 },
447449 { 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[] = [
7676 "GET /api/v1/user/pins",
7777 "GET /api/v1/users/{}",
7878 "GET /api/v1/users/{}/repos",
79 "PATCH /api/v1/repos/{}/{}/pulls/{}",
8079 "PATCH /api/v1/user",
8180 "POST /api/v1/asks/bulk",
8281 "POST /api/v1/asks/bulk/{}/undo",
@@ -96,7 +95,6 @@ const NOT_YET_DESCRIBED: readonly string[] = [
9695 "POST /api/v1/repos/{}/{}/milestones/{}/limb",
9796 "POST /api/v1/repos/{}/{}/prompts/{}/run",
9897 "POST /api/v1/repos/{}/{}/proposal-tokens",
99 "POST /api/v1/repos/{}/{}/pulls/{}/approve-here",
10098 "POST /api/v1/repos/{}/{}/pulls/{}/comments",
10199 "POST /api/v1/repos/{}/{}/pulls/{}/looks",
102100 "POST /api/v1/repos/{}/{}/pulls/{}/review-states",

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs