Skip to content

Commit 4417874

Browse files
authored
Update schema-formatters.ts
Fixes #1321
1 parent c604d1f commit 4417874

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/schema-parser/schema-formatters.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ export class SchemaFormatters {
114114
lodash
115115
// @ts-expect-error TS(2339) FIXME: Property '_' does not exist on type 'LoDashStatic'... Remove this comment to see the full error message
116116
._(description)
117+
.replace(/\//g, "") // Remove all forward slashes
117118
.split(/\n/g)
118119
.map((part) => part.trim())
119120
.compact()

0 commit comments

Comments
 (0)