From aa30a8dc0a328b0bc4ef3248d571b69a65044f60 Mon Sep 17 00:00:00 2001 From: Jarek Krochmalski Date: Sun, 6 Sep 2026 17:38:22 +0530 Subject: [PATCH] replace non-ascii glyphs in generated openapi description strings --- scripts/openapi/build-spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/openapi/build-spec.ts b/scripts/openapi/build-spec.ts index 51ad622..2ef9b94 100644 --- a/scripts/openapi/build-spec.ts +++ b/scripts/openapi/build-spec.ts @@ -40,7 +40,7 @@ export interface BuildSpecInput { } function genericParamDescription(kind: 'path' | 'query', name: string): string { - return `${kind === 'path' ? 'Path' : 'Query'} parameter "${name}" (auto-detected from the handler's source — no @openapi annotation for this parameter yet)`; + return `${kind === 'path' ? 'Path' : 'Query'} parameter "${name}" (auto-detected from the handler's source - no @openapi annotation for this parameter yet)`; } export function buildSpec({ routes, fileContents, annotationsByPath, isPublicFn, version }: BuildSpecInput) { @@ -177,7 +177,7 @@ export function buildSpec({ routes, fileContents, annotationsByPath, isPublicFn, type: 'object', properties, description: - 'Fields auto-detected from the handler’s destructuring of the request body — generic string type, no @openapi annotation for this body yet.' + "Fields auto-detected from the handler's destructuring of the request body - generic string type, no @openapi annotation for this body yet." } } }