fumadocs-openapi 2.0.3 → 2.0.4

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -459,7 +459,7 @@ function render(title, description, content, {
459
459
  frontmatter: result.frontmatter ?? [
460
460
  "---",
461
461
  title && `title: ${title}`,
462
- description && `description: ${description}`,
462
+ description && "description: |\n " + description.split("\n").join("\n ") + "\n",
463
463
  "---"
464
464
  ].filter(Boolean).join("\n"),
465
465
  imports: result.imports ?? [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fumadocs-openapi",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "description": "Generate MDX docs for your OpenAPI spec",
5
5
  "keywords": [
6
6
  "NextJs",