Public: anyone can read this; the crew can change it.
The OpenAPI document describes an issue's teams, labels and private repository, and a pull's labels #5040
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Intent: a harness can triage an issue — teams, labels, the private fix repository — through OpenAPI alone.
Done:
{REPO}/issues/{number}/teams, PUT{REPO}/issues/{number}/labelsand PUT{REPO}/pulls/{number}/labels(theRoutetype'smethodgainsput, and the document builder emits it), and POST{REPO}/issues/{number}/private, each withauth, thebodyandqueryfields its handler reads, its successstatuswhen not 200, and therefusalsit answers by stableerrorcodetest/openapi.test.tsstill passes, and a new test asserts each new path and method is in the served document (GET /contract/openapi.json)Files: src/contract/openapi.ts, one new test. Other issues add OpenAPI rows in parallel: add these as one block after the last
${REPO}row and before/mcp, and change no other row. Do not change any route.