expose local explorer openapi spec at /cdn-cgi/explorer/api#13240
expose local explorer openapi spec at /cdn-cgi/explorer/api#13240emily-shen wants to merge 5 commits intomainfrom
Conversation
🦋 Changeset detectedLatest commit: 1a57d7f The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
UnknownError: ProviderInitError |
|
@emily-shen Bonk workflow failed. Check the logs for details. View workflow run · To retry, trigger Bonk again. |
| "info": { | ||
| "title": "Local Explorer API", | ||
| "description": "Local subset of Cloudflare API for exploring resources during local development.", | ||
| "description": "A local subset of Cloudflare API for inspecting and modifying resource state during local development. Supports D1, R2, KV, Durable Objects and Workflows.", |
There was a problem hiding this comment.
@MattieTK are there any other instructions you want to include in the description?
create-cloudflare
@cloudflare/kv-asset-handler
miniflare
@cloudflare/pages-shared
@cloudflare/unenv-preset
@cloudflare/vite-plugin
@cloudflare/vitest-pool-workers
@cloudflare/workers-editor-shared
wrangler
commit: |
|
Codeowners approval required for this PR:
Show detailed file reviewers |
workers-devprod
left a comment
There was a problem hiding this comment.
Codeowners reviews satisfied
| title: "Local Explorer API", | ||
| description: | ||
| "Local subset of Cloudflare API for exploring resources during local development.", | ||
| "A local subset of Cloudflare API for inspecting and modifying resource state during local development. Supports D1, R2, KV, Durable Objects and Workflows.", |
There was a problem hiding this comment.
| "A local subset of Cloudflare API for inspecting and modifying resource state during local development. Supports D1, R2, KV, Durable Objects and Workflows.", | |
| "A local subset of the Cloudflare API for inspecting and modifying resource state during local development. Supports D1, R2, KV, Durable Objects and Workflows.", |
| }, | ||
| }, | ||
|
|
||
| // Workflows endpoints (local-only, not pulling from upstream API) |
There was a problem hiding this comment.
Why is this being added here? Wasn't workflows support merged recently?
| }, | ||
| }, | ||
|
|
||
| // Workflows schemas (local-only, not pulling from upstream API) |
| // ============================================================================ | ||
| // OpenAPI Spec Endpoint | ||
| // ============================================================================ |
There was a problem hiding this comment.
I guess AI added these, but I really don't think these comments add any value to the file
| "info": { | ||
| "title": "Local Explorer API", | ||
| "description": "Local subset of Cloudflare API for exploring resources during local development.", | ||
| "description": "A local subset of Cloudflare API for inspecting and modifying resource state during local development. Supports D1, R2, KV, Durable Objects and Workflows.", |
There was a problem hiding this comment.
| "description": "A local subset of Cloudflare API for inspecting and modifying resource state during local development. Supports D1, R2, KV, Durable Objects and Workflows.", | |
| "description": "A local subset of the Cloudflare API for inspecting and modifying resource state during local development. Supports D1, R2, KV, Durable Objects and Workflows.", |
This just dumps out the local explorer's openapi spec at the currently unused /cdn-cgi/explorer/api path.
A picture of a cute animal (not mandatory, but encouraged)