From 3114314e2be85897669d6858de3332df65a6b2bc Mon Sep 17 00:00:00 2001 From: Boris Tane Date: Tue, 6 Oct 2026 13:34:55 -0700 Subject: [PATCH] chore: drop the dead scan_reports codegen exclusion The live OpenAPI document no longer serves /v1/scan_reports or the Scan Report schema, so the exclusion that kept them out of the generated client matches nothing. The scan command, skill commands, and skills OAuth scopes were already removed in #91, #95, and #98. Co-Authored-By: Claude Opus 5.5 --- codegen/parse-spec.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/codegen/parse-spec.ts b/codegen/parse-spec.ts index d94b58b..cd124ac 100644 --- a/codegen/parse-spec.ts +++ b/codegen/parse-spec.ts @@ -10,9 +10,9 @@ import { schemaToTypescript, type TypeGenOptions } from './type-utils'; const CLIENT_OPTS: TypeGenOptions = { refPrefix: 'T.' }; -// The automations and scan reports features are retired; drop their endpoints +// The automations feature is retired; drop its endpoints // and schemas from the generated client even while the API still serves them. -const EXCLUDED_PATH = /\/(automations|scan_reports)(\/|$)/; +const EXCLUDED_PATH = /\/automations(\/|$)/; const EXCLUDED_SCHEMAS = new Set([ 'Automation', 'AutomationExecution', @@ -20,7 +20,6 @@ const EXCLUDED_SCHEMAS = new Set([ 'AutomationActionExecution', 'TriggerAutomationBody', 'CreateAutomationFromTemplateBody', - 'Scan Report', ]); export function parseSpec(spec: OpenAPISpec): ParsedSpec {