diff --git a/apps/docs/spec/sections/generateMgmtApiSections.cts b/apps/docs/spec/sections/generateMgmtApiSections.cts index ecb55ed9063..ed2c225fd4f 100644 --- a/apps/docs/spec/sections/generateMgmtApiSections.cts +++ b/apps/docs/spec/sections/generateMgmtApiSections.cts @@ -56,7 +56,9 @@ function extractSectionsFromOpenApi(filePaths: string[], outputPath: string) { const sectionCate = sections.find((i) => i.title === tag) sectionCate?.items.push({ id: operationId, - title: slugToTitle(operationId), + title: operationId.match(/^v\d+-(organizations-slug|projects-ref)-.+$/) + ? (methods[method].summary ?? slugToTitle(operationId)) + : slugToTitle(operationId), slug: operationId, type: 'operation', })