fumadocs-openapi 2.0.4 → 2.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -459,7 +459,9 @@ function render(title, description, content, {
|
|
|
459
459
|
frontmatter: result.frontmatter ?? [
|
|
460
460
|
"---",
|
|
461
461
|
title && `title: ${title}`,
|
|
462
|
-
description &&
|
|
462
|
+
description && `description: |
|
|
463
|
+
${description.split("\n").join("\n ")}
|
|
464
|
+
`,
|
|
463
465
|
"---"
|
|
464
466
|
].filter(Boolean).join("\n"),
|
|
465
467
|
imports: result.imports ?? [
|