Skip to content

feat(api): annotate HTTP endpoints with OpenAPI metadata#884

Draft
RhysSullivan wants to merge 1 commit into
effect/error-modelfrom
effect/reliability-surface
Draft

feat(api): annotate HTTP endpoints with OpenAPI metadata#884
RhysSullivan wants to merge 1 commit into
effect/error-modelfrom
effect/reliability-surface

Conversation

@RhysSullivan
Copy link
Copy Markdown
Owner

Adds OpenAPI metadata to every endpoint.

OpenApi.annotations({ identifier, summary, description }) on all 62 HttpApiEndpoints across core/api and the source plugins. Operation IDs match the trace span names from the handler sweep (e.g. sources.list, account.me, mcp.probeEndpoint), so the served OpenAPI spec and generated SDK gain stable operation IDs + per-endpoint docs. Pure-additive — no path/schema/behaviour changes.

Stacked on #883.

Verified: typecheck (all 38 packages), lint (0/0), format, and api/cloud/plugin test suites.

Note: the plugin-boundary Schema.Struct conversions (the other half of the reliability slice) are deferred to a separate PR — they're feasible but ripple through every consumer of each interface, so they deserve their own careful pass rather than riding this additive change.

Draft.

Add `OpenApi.annotations({ identifier, summary, description })` to all 62
HttpApiEndpoints across core/api and the source plugins. Operation IDs match the
trace span names (e.g. `sources.list`, `account.me`), so the served OpenAPI spec
and generated SDK gain stable operation IDs + per-endpoint docs. Pure-additive —
no path/schema/behaviour changes.

Verified: typecheck (all 38 packages), lint (0/0), format, api/cloud/plugin tests.
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Jun 2, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
executor-cloud cc16482 Jun 02 2026, 06:09 PM

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Jun 2, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
executor-marketing cc16482 Commit Preview URL

Branch Preview URL
Jun 02 2026, 06:09 PM

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Jun 2, 2026

Open in StackBlitz

@executor-js/cli

npm i https://pkg.pr.new/@executor-js/cli@884

@executor-js/config

npm i https://pkg.pr.new/@executor-js/config@884

@executor-js/execution

npm i https://pkg.pr.new/@executor-js/execution@884

@executor-js/sdk

npm i https://pkg.pr.new/@executor-js/sdk@884

@executor-js/codemode-core

npm i https://pkg.pr.new/@executor-js/codemode-core@884

@executor-js/runtime-quickjs

npm i https://pkg.pr.new/@executor-js/runtime-quickjs@884

@executor-js/plugin-file-secrets

npm i https://pkg.pr.new/@executor-js/plugin-file-secrets@884

@executor-js/plugin-graphql

npm i https://pkg.pr.new/@executor-js/plugin-graphql@884

@executor-js/plugin-keychain

npm i https://pkg.pr.new/@executor-js/plugin-keychain@884

@executor-js/plugin-mcp

npm i https://pkg.pr.new/@executor-js/plugin-mcp@884

@executor-js/plugin-onepassword

npm i https://pkg.pr.new/@executor-js/plugin-onepassword@884

@executor-js/plugin-openapi

npm i https://pkg.pr.new/@executor-js/plugin-openapi@884

executor

npm i https://pkg.pr.new/executor@884

commit: cc16482

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.

1 participant