fumadocs-openapi 5.2.0 → 5.2.2
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/server/index.d.ts +1 -1
- package/dist/server/index.js +1 -1
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
package/dist/server/index.d.ts
CHANGED
package/dist/server/index.js
CHANGED
|
@@ -765,7 +765,7 @@ async function APIExample({ method, endpoint, ctx }) {
|
|
|
765
765
|
},
|
|
766
766
|
...ctx.generateCodeSamples ? await ctx.generateCodeSamples(endpoint) : [],
|
|
767
767
|
...method['x-codeSamples'] ?? []
|
|
768
|
-
]);
|
|
768
|
+
]).filter((item)=>item.source !== undefined);
|
|
769
769
|
children.push(/*#__PURE__*/ jsx(renderer.Requests, {
|
|
770
770
|
items: samples.map((s)=>s.label),
|
|
771
771
|
children: samples.map((s)=>/*#__PURE__*/ jsx(renderer.Request, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fumadocs-openapi",
|
|
3
|
-
"version": "5.2.
|
|
3
|
+
"version": "5.2.2",
|
|
4
4
|
"description": "Generate MDX docs for your OpenAPI spec",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"NextJs",
|
|
@@ -54,18 +54,18 @@
|
|
|
54
54
|
"github-slugger": "^2.0.0",
|
|
55
55
|
"js-yaml": "^4.1.0",
|
|
56
56
|
"json-schema-to-typescript": "^15.0.0",
|
|
57
|
-
"lucide-react": "^0.
|
|
57
|
+
"lucide-react": "^0.428.0",
|
|
58
58
|
"openapi-sampler": "^1.5.1",
|
|
59
59
|
"react-hook-form": "^7.52.2",
|
|
60
60
|
"remark": "^15.0.0",
|
|
61
|
-
"shiki": "^1.
|
|
61
|
+
"shiki": "^1.13.0",
|
|
62
62
|
"swr": "^2.2.5",
|
|
63
|
-
"fumadocs-core": "13.
|
|
64
|
-
"fumadocs-ui": "13.
|
|
63
|
+
"fumadocs-core": "13.3.1",
|
|
64
|
+
"fumadocs-ui": "13.3.1"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"@types/js-yaml": "^4.0.9",
|
|
68
|
-
"@types/node": "
|
|
68
|
+
"@types/node": "22.3.0",
|
|
69
69
|
"@types/openapi-sampler": "^1.0.3",
|
|
70
70
|
"@types/react": "^18.3.3",
|
|
71
71
|
"bunchee": "^5.3.2",
|