From 97c68331aae11384ea856b74ecefad17f5a18cae Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 29 Oct 2026 10:28:43 +0000 Subject: [PATCH] chore: update OpenAPI to e2d50301c8e4 --- .changeset/update-openapi-e2d50301c8e4.md | 6 ++++++ packages/cli/generate.ts | 2 +- packages/cli/src/commands/_generated/_meta/commands.json | 4 ++-- .../_operations/artifacts/namespaces/repos/trees/get.ts | 1 + .../_generated/artifacts/namespaces/repos/trees/get.ts | 2 +- packages/cli/src/commands/_generated/index.ts | 2 +- 6 files changed, 12 insertions(+), 5 deletions(-) create mode 100644 .changeset/update-openapi-e2d50301c8e4.md diff --git a/.changeset/update-openapi-e2d50301c8e4.md b/.changeset/update-openapi-e2d50301c8e4.md new file mode 100644 index 0000000000..1f98c45d71 --- /dev/null +++ b/.changeset/update-openapi-e2d50301c8e4.md @@ -0,0 +1,6 @@ +--- +"cf": minor +--- + +Update the generated command surface for Forge OpenAPI release +`e2d50301c8e4b04ebc02f6632c3a317d4960819d`. diff --git a/packages/cli/generate.ts b/packages/cli/generate.ts index 00aeb7068e..617fa87f34 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 = "c4fbef6545cc3ae3ef7724398dc12e1fecbd9183"; +const FORGE_OPENAPI_VERSION = "e2d50301c8e4b04ebc02f6632c3a317d4960819d"; 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/_meta/commands.json b/packages/cli/src/commands/_generated/_meta/commands.json index d432b3c95e..95af2c0ade 100644 --- a/packages/cli/src/commands/_generated/_meta/commands.json +++ b/packages/cli/src/commands/_generated/_meta/commands.json @@ -15248,7 +15248,7 @@ "httpMethod": "POST", "apiPath": "/accounts/{account_id}/analytics_engine/sql", "operationId": "analytics-engine.sql.query", - "hideCommand": true + "hideCommand": false }, { "command": "cf api-security schema-validation schemas create", @@ -18710,7 +18710,7 @@ "command": "cf artifacts namespaces repos trees get", "name": "get", "fullPath": ["artifacts", "namespaces", "repos", "trees", "get"], - "description": "Returns decoded entries for an immutable Git tree object. Tree responses are cacheable forever by hash.", + "description": "Returns decoded entries for an immutable Git tree object. A commit hash returns that commit's root tree; a blob or tag hash returns 422. Tree responses are cacheable forever by hash.", "summary": "Read a Git tree", "usage": "cf artifacts namespaces repos trees get [options]", "arguments": [ diff --git a/packages/cli/src/commands/_generated/_operations/artifacts/namespaces/repos/trees/get.ts b/packages/cli/src/commands/_generated/_operations/artifacts/namespaces/repos/trees/get.ts index fcf1521a24..a225d50381 100644 --- a/packages/cli/src/commands/_generated/_operations/artifacts/namespaces/repos/trees/get.ts +++ b/packages/cli/src/commands/_generated/_operations/artifacts/namespaces/repos/trees/get.ts @@ -10,6 +10,7 @@ export default { 401: "UnauthorizedError", 403: "ForbiddenError", 404: "NotFoundError", + 422: "UnprocessableEntityError", 500: "InternalServerError", }, } as const; diff --git a/packages/cli/src/commands/_generated/artifacts/namespaces/repos/trees/get.ts b/packages/cli/src/commands/_generated/artifacts/namespaces/repos/trees/get.ts index 28d45319d6..89beb5135d 100644 --- a/packages/cli/src/commands/_generated/artifacts/namespaces/repos/trees/get.ts +++ b/packages/cli/src/commands/_generated/artifacts/namespaces/repos/trees/get.ts @@ -20,7 +20,7 @@ import { runWithTelemetry } from "#lib/telemetry/index.js"; function builder(yargs: Argv) { return yargs .usage( - "$0 artifacts namespaces repos trees get \n\nReturns decoded entries for an immutable Git tree object. Tree responses are cacheable forever by hash." + "$0 artifacts namespaces repos trees get \n\nReturns decoded entries for an immutable Git tree object. A commit hash returns that commit's root tree; a blob or tag hash returns 422. Tree responses are cacheable forever by hash." ) .positional("hash", { type: "string", diff --git a/packages/cli/src/commands/_generated/index.ts b/packages/cli/src/commands/_generated/index.ts index d4602e5776..ef800f8aa9 100644 --- a/packages/cli/src/commands/_generated/index.ts +++ b/packages/cli/src/commands/_generated/index.ts @@ -136,7 +136,7 @@ export const generatedCommands: GeneratedCommand[] = [ () => import("./analytics-engine/index.js"), null ), - hideCommand: true, + hideCommand: false, }, { command: lazyCommand(