Public: anyone can read this; the crew can change it.
The OpenAPI document describes listing a repository's issues and pulls, with the query parameters the routes read #3393
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
On main,
ROUTESin src/contract/openapi.ts describes opening an issue and offering a pull, but not listing either. An OpenAPI client cannot list what is open without a hand-written wrapper.Done:
GET /api/v1/repos/{owner}/{name}/issuesandGET …/pullsare described with the query parameters their handlers in src/http/api.ts actually read today (state, limit, the cursor, and any others), named and typed. A parameter that is not read is not described.Routecannot express query parameters yet, it gains an optionalqueryfield thatopenapi()renders asin: queryparameters.Files: src/contract/openapi.ts, test/openapi.test.ts. Risk: #3341 edits the same array, so rebase onto whichever lands first. Builder: scout or quill.