Skip to content

Expose the control plane OpenAPI spec at /v1/openapi.json#17

Open
bam4564 wants to merge 1 commit intoRhysSullivan:mainfrom
bam4564:codex/openapi-endpoint
Open

Expose the control plane OpenAPI spec at /v1/openapi.json#17
bam4564 wants to merge 1 commit intoRhysSullivan:mainfrom
bam4564:codex/openapi-endpoint

Conversation

@bam4564
Copy link

@bam4564 bam4564 commented Mar 10, 2026

Summary

  • expose the Effect-generated control plane OpenAPI document from the local server
  • serve it at /v1/openapi.json so it lines up with the current v1 API surface
  • add a server regression test that boots a real local Executor instance and verifies the returned spec matches controlPlaneOpenApiSpec

Testing

  • bun run --cwd packages/server typecheck
  • bun run --cwd apps/executor typecheck
  • bun run --cwd apps/executor test -- src/server/server.test.ts -t "serves the control-plane OpenAPI spec at /v1/openapi.json"

@vercel
Copy link

vercel bot commented Mar 10, 2026

@bam4564 is attempting to deploy a commit to the Rhys's Projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants