Skip to content

Commit b8cf5a2

Browse files
committed
Rolled back the JSDoc comments to the original version
1 parent 6f5f226 commit b8cf5a2

File tree

1 file changed

+2
-4
lines changed
  • packages/openapi-typescript/src/lib

1 file changed

+2
-4
lines changed

packages/openapi-typescript/src/lib/ts.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -398,10 +398,8 @@ export function tsEnumMember(value: string | number, metadata: { name?: string;
398398

399399
return ts.addSyntheticLeadingComment(
400400
member,
401-
ts.SyntaxKind.MultiLineCommentTrivia,
402-
`/**
403-
* @description ${trimmedDescription}
404-
*/`,
401+
ts.SyntaxKind.SingleLineCommentTrivia,
402+
` ${trimmedDescription}`,
405403
true,
406404
);
407405
}

0 commit comments

Comments
 (0)