From 8ffda8c89bd633440d47811393b3adae055ed360 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 27 Oct 2026 02:43:35 +0000 Subject: [PATCH] chore: update OpenAPI to fdc1aa8a39e2 --- .changeset/update-openapi-fdc1aa8a39e2.md | 6 ++++++ packages/cli/generate.ts | 2 +- .../_generated/_operations/ai-gateway/gateways/delete.ts | 1 + .../_generated/_operations/ai-gateway/gateways/get.ts | 1 + 4 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 .changeset/update-openapi-fdc1aa8a39e2.md diff --git a/.changeset/update-openapi-fdc1aa8a39e2.md b/.changeset/update-openapi-fdc1aa8a39e2.md new file mode 100644 index 0000000000..52ddeeb9a4 --- /dev/null +++ b/.changeset/update-openapi-fdc1aa8a39e2.md @@ -0,0 +1,6 @@ +--- +"cf": minor +--- + +Update the generated command surface for Forge OpenAPI release +`fdc1aa8a39e2e515f26c2fc6109d7e93050e811c`. diff --git a/packages/cli/generate.ts b/packages/cli/generate.ts index 947fb6401d..94fe8710c0 100644 --- a/packages/cli/generate.ts +++ b/packages/cli/generate.ts @@ -17,7 +17,7 @@ import type { ForgeOpenApiDocument } from "./generator/openapi.js"; const bundle = process.env.FORGE_OPENAPI_BUNDLE; // Bump this SHA to generate the commands from a new release. -const FORGE_OPENAPI_VERSION = "e2b8c60b0222e9df2db7db83fdbf465f099a5189"; +const FORGE_OPENAPI_VERSION = "fdc1aa8a39e2e515f26c2fc6109d7e93050e811c"; const FORGE_OPENAPI_RELEASE = `openapi@${FORGE_OPENAPI_VERSION}`; const FORGE_OPENAPI_ASSET = "openapi.forge.json"; const FORGE_OPENAPI_ASSET_URL = `https://github.com/cloudflare/forge/releases/download/${FORGE_OPENAPI_RELEASE}/${FORGE_OPENAPI_ASSET}`; diff --git a/packages/cli/src/commands/_generated/_operations/ai-gateway/gateways/delete.ts b/packages/cli/src/commands/_generated/_operations/ai-gateway/gateways/delete.ts index 4837de9817..7486070d31 100644 --- a/packages/cli/src/commands/_generated/_operations/ai-gateway/gateways/delete.ts +++ b/packages/cli/src/commands/_generated/_operations/ai-gateway/gateways/delete.ts @@ -6,6 +6,7 @@ export default { path: (request: Record) => path`/accounts/${request.account_id}/ai-gateway/gateways/${request.id}`, errors: { + 400: "BadRequestError", 404: "NotFoundError", }, } as const; diff --git a/packages/cli/src/commands/_generated/_operations/ai-gateway/gateways/get.ts b/packages/cli/src/commands/_generated/_operations/ai-gateway/gateways/get.ts index 265e060400..8340abcee5 100644 --- a/packages/cli/src/commands/_generated/_operations/ai-gateway/gateways/get.ts +++ b/packages/cli/src/commands/_generated/_operations/ai-gateway/gateways/get.ts @@ -6,6 +6,7 @@ export default { path: (request: Record) => path`/accounts/${request.account_id}/ai-gateway/gateways/${request.id}`, errors: { + 400: "BadRequestError", 404: "NotFoundError", }, } as const;