fumadocs-openapi 8.1.5 → 8.1.7
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/media/adapter.d.ts +62 -0
- package/dist/media/adapter.d.ts.map +1 -0
- package/dist/media/adapter.js +126 -0
- package/dist/playground/client.d.ts.map +1 -1
- package/dist/playground/client.js +6 -3
- package/dist/playground/fetcher.d.ts +3 -6
- package/dist/playground/fetcher.d.ts.map +1 -1
- package/dist/playground/fetcher.js +17 -52
- package/dist/playground/index.d.ts.map +1 -1
- package/dist/playground/index.js +1 -3
- package/dist/playground/inputs.d.ts.map +1 -1
- package/dist/playground/inputs.js +1 -1
- package/dist/render/api-page.d.ts +1 -1
- package/dist/render/api-page.d.ts.map +1 -1
- package/dist/render/api-page.js +17 -6
- package/dist/render/operation/api-example.d.ts.map +1 -1
- package/dist/render/operation/api-example.js +1 -1
- package/dist/render/operation/index.d.ts +2 -2
- package/dist/render/operation/index.d.ts.map +1 -1
- package/dist/render/operation/index.js +1 -3
- package/dist/render/renderer.d.ts +3 -5
- package/dist/render/renderer.d.ts.map +1 -1
- package/dist/render/renderer.js +4 -4
- package/dist/requests/_shared.d.ts +5 -7
- package/dist/requests/_shared.d.ts.map +1 -1
- package/dist/requests/_shared.js +0 -11
- package/dist/requests/curl.d.ts +2 -2
- package/dist/requests/curl.d.ts.map +1 -1
- package/dist/requests/curl.js +16 -9
- package/dist/requests/go.d.ts +2 -2
- package/dist/requests/go.d.ts.map +1 -1
- package/dist/requests/go.js +13 -21
- package/dist/requests/index.js +4 -4
- package/dist/requests/javascript.d.ts +2 -2
- package/dist/requests/javascript.d.ts.map +1 -1
- package/dist/requests/javascript.js +20 -27
- package/dist/requests/python.d.ts +2 -2
- package/dist/requests/python.d.ts.map +1 -1
- package/dist/requests/python.js +18 -27
- package/dist/types.d.ts +2 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/ui/client.d.ts +0 -1
- package/dist/ui/client.d.ts.map +1 -1
- package/dist/ui/client.js +0 -1
- package/dist/ui/contexts/api.d.ts +8 -5
- package/dist/ui/contexts/api.d.ts.map +1 -1
- package/dist/ui/contexts/api.js +16 -8
- package/dist/ui/contexts/code-example.d.ts.map +1 -1
- package/dist/ui/contexts/code-example.js +5 -3
- package/dist/ui/index.d.ts +1 -1
- package/dist/ui/index.d.ts.map +1 -1
- package/dist/ui/index.js +3 -3
- package/dist/ui/lazy.d.ts +14 -0
- package/dist/ui/lazy.d.ts.map +1 -0
- package/dist/ui/lazy.js +7 -0
- package/dist/utils/input-to-string.d.ts +1 -1
- package/dist/utils/input-to-string.d.ts.map +1 -1
- package/dist/utils/input-to-string.js +7 -1
- package/package.json +6 -6
- package/dist/playground/client.lazy.d.ts +0 -2
- package/dist/playground/client.lazy.d.ts.map +0 -1
- package/dist/playground/client.lazy.js +0 -3
- package/dist/ui/contexts/code-example.lazy.d.ts +0 -12
- package/dist/ui/contexts/code-example.lazy.d.ts.map +0 -1
- package/dist/ui/contexts/code-example.lazy.js +0 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fumadocs-openapi",
|
|
3
|
-
"version": "8.1.
|
|
3
|
+
"version": "8.1.7",
|
|
4
4
|
"description": "Generate MDX docs for your OpenAPI spec",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"NextJs",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"@radix-ui/react-dialog": "^1.1.11",
|
|
50
50
|
"@radix-ui/react-select": "^2.2.2",
|
|
51
51
|
"@radix-ui/react-slot": "^1.2.0",
|
|
52
|
-
"@scalar/openapi-parser": "0.10.
|
|
52
|
+
"@scalar/openapi-parser": "0.10.17",
|
|
53
53
|
"ajv": "^8.17.1",
|
|
54
54
|
"class-variance-authority": "^0.7.1",
|
|
55
55
|
"fast-glob": "^3.3.3",
|
|
@@ -58,16 +58,16 @@
|
|
|
58
58
|
"js-yaml": "^4.1.0",
|
|
59
59
|
"next-themes": "^0.4.6",
|
|
60
60
|
"openapi-sampler": "^1.6.1",
|
|
61
|
-
"react-hook-form": "^7.56.
|
|
61
|
+
"react-hook-form": "^7.56.2",
|
|
62
62
|
"remark": "^15.0.1",
|
|
63
63
|
"remark-rehype": "^11.1.2",
|
|
64
64
|
"shiki": "^3.3.0",
|
|
65
65
|
"xml-js": "^1.6.11",
|
|
66
|
-
"fumadocs-core": "15.2.
|
|
67
|
-
"fumadocs-ui": "15.2.
|
|
66
|
+
"fumadocs-core": "15.2.15",
|
|
67
|
+
"fumadocs-ui": "15.2.15"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
|
-
"@scalar/api-client-react": "^1.2.
|
|
70
|
+
"@scalar/api-client-react": "^1.2.31",
|
|
71
71
|
"@types/js-yaml": "^4.0.9",
|
|
72
72
|
"@types/node": "22.15.3",
|
|
73
73
|
"@types/openapi-sampler": "^1.0.3",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"client.lazy.d.ts","sourceRoot":"","sources":["../../src/playground/client.lazy.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU,+DAAoC,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export declare const CodeExampleProvider: import("react").ComponentType<{
|
|
2
|
-
route: string;
|
|
3
|
-
examples: {
|
|
4
|
-
key: string;
|
|
5
|
-
data: import("../../requests/_shared.js").RequestData;
|
|
6
|
-
}[];
|
|
7
|
-
initialKey?: string;
|
|
8
|
-
children: React.ReactNode;
|
|
9
|
-
}>;
|
|
10
|
-
export declare const CodeExample: import("react").ComponentType<import("../../render/operation/index.js").CodeSample>;
|
|
11
|
-
export declare const CodeExampleSelector: import("react").ComponentType<import("../../render/renderer.js").SamplesProps>;
|
|
12
|
-
//# sourceMappingURL=code-example.lazy.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"code-example.lazy.d.ts","sourceRoot":"","sources":["../../../src/ui/contexts/code-example.lazy.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,mBAAmB;;;;;;;;EAE/B,CAAC;AACF,eAAO,MAAM,WAAW,4EAEvB,CAAC;AACF,eAAO,MAAM,mBAAmB,6EAE/B,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import dynamic from 'next/dynamic';
|
|
3
|
-
export const CodeExampleProvider = dynamic(() => import('./code-example.js').then((mod) => mod.CodeExampleProvider));
|
|
4
|
-
export const CodeExample = dynamic(() => import('./code-example.js').then((mod) => mod.CodeExample));
|
|
5
|
-
export const CodeExampleSelector = dynamic(() => import('./code-example.js').then((mod) => mod.CodeExampleSelector));
|