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

The OpenAPI document describes starting a migration and reading its job #3341

shipped production is serving it opened this has it
opened this

POST /api/v1/migrate and GET /api/v1/migrate/{job} (src/http/api.ts:5009, 5066) are not in ROUTES in src/contract/openapi.ts, so an OpenAPI client cannot migrate.

Done:

  • [ ] Two entries in ROUTES, with the body fields the route actually reads, both auth: true.
  • [ ] test/openapi.test.ts asserts both paths and methods are present. It fails without the change.

Files: src/contract/openapi.ts, test/openapi.test.ts. Risk: #3270 and #3271 edit the same array, so rebase onto whichever lands first. Builder: scout or torque.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs