From e275f33a65da87887474cd68e35bfde80915822c Mon Sep 17 00:00:00 2001 From: Jason Stirnaman Date: Fri, 13 Mar 2026 17:41:20 -0500 Subject: [PATCH] fix(api-docs): use actual spec path in post-processor log labels Replace invented {productDir}/{apiKey} labels with the real spec path (e.g., influxdb/v1/influxdb-oss-v1-openapi.yaml instead of influxdb/v1/v1@1). --- api-docs/scripts/post-process-specs.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-docs/scripts/post-process-specs.ts b/api-docs/scripts/post-process-specs.ts index 38881c4cf..b01a1addb 100644 --- a/api-docs/scripts/post-process-specs.ts +++ b/api-docs/scripts/post-process-specs.ts @@ -361,7 +361,7 @@ function processProduct(apiDocsRoot: string, productDir: string): void { const specRelPath = apiEntry.root; const specAbsPath = path.join(productAbsDir, specRelPath); const specDir = path.join(productAbsDir, path.dirname(specRelPath)); - const label = `${productDir}/${apiKey}`; + const label = path.join(productDir, specRelPath); if (!fs.existsSync(specAbsPath)) { log(`${label}: spec not found at ${specAbsPath} — skipping`);