We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cb8a0d commit 0bed945Copy full SHA for 0bed945
src/programmers/internal/json_schema_jsDocTags.ts
@@ -11,7 +11,7 @@ export const json_schema_jsDocTags = <Schema extends OpenApi.IJsonSchema>(
11
12
const value: string | undefined = tag.text
13
?.filter((s) => s.kind === "text")
14
- .map((s) => s.text.split("\r\n").join("\n"))[0];
+ .map((s) => s.text.trim().split("\r\n").join("\n"))[0];
15
if (value === undefined) continue;
16
else (schema as any)[tag.name] = cast(value);
17
}
0 commit comments