docusaurus-plugin-openapi-docs 0.0.0-beta.659 → 0.0.0-beta.660
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/lib/markdown/index.js +3 -3
- package/package.json +2 -2
- package/src/markdown/index.ts +3 -3
package/lib/markdown/index.js
CHANGED
|
@@ -29,8 +29,8 @@ function createApiPageMD({ title, api: { deprecated, "x-deprecated-description":
|
|
|
29
29
|
return (0, utils_1.render)([
|
|
30
30
|
`import ApiTabs from "@theme/ApiTabs";\n`,
|
|
31
31
|
`import DiscriminatorTabs from "@theme/DiscriminatorTabs";\n`,
|
|
32
|
-
`import MethodEndpoint from "@theme/
|
|
33
|
-
`import SecuritySchemes from "@theme/
|
|
32
|
+
`import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";\n`,
|
|
33
|
+
`import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";\n`,
|
|
34
34
|
`import MimeTabs from "@theme/MimeTabs";\n`,
|
|
35
35
|
`import ParamsItem from "@theme/ParamsItem";\n`,
|
|
36
36
|
`import ResponseSamples from "@theme/ResponseSamples";\n`,
|
|
@@ -61,7 +61,7 @@ function createInfoPageMD({ info: { title, version, description, contact, licens
|
|
|
61
61
|
`import ApiLogo from "@theme/ApiLogo";\n`,
|
|
62
62
|
`import SchemaTabs from "@theme/SchemaTabs";\n`,
|
|
63
63
|
`import TabItem from "@theme/TabItem";\n`,
|
|
64
|
-
`import Export from "@theme/
|
|
64
|
+
`import Export from "@theme/ApiExplorer/Export";\n\n`,
|
|
65
65
|
(0, createVersionBadge_1.createVersionBadge)(version),
|
|
66
66
|
(0, createDownload_1.createDownload)(downloadUrl),
|
|
67
67
|
(0, createHeading_1.createHeading)(title.replace(utils_1.lessThan, "<").replace(utils_1.greaterThan, ">")),
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "docusaurus-plugin-openapi-docs",
|
|
3
3
|
"description": "OpenAPI plugin for Docusaurus.",
|
|
4
|
-
"version": "0.0.0-beta.
|
|
4
|
+
"version": "0.0.0-beta.660",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"openapi",
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"engines": {
|
|
61
61
|
"node": ">=14"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "ab105a0abb66443e79dc1331b05b874f362d894f"
|
|
64
64
|
}
|
package/src/markdown/index.ts
CHANGED
|
@@ -61,8 +61,8 @@ export function createApiPageMD({
|
|
|
61
61
|
return render([
|
|
62
62
|
`import ApiTabs from "@theme/ApiTabs";\n`,
|
|
63
63
|
`import DiscriminatorTabs from "@theme/DiscriminatorTabs";\n`,
|
|
64
|
-
`import MethodEndpoint from "@theme/
|
|
65
|
-
`import SecuritySchemes from "@theme/
|
|
64
|
+
`import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";\n`,
|
|
65
|
+
`import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";\n`,
|
|
66
66
|
`import MimeTabs from "@theme/MimeTabs";\n`,
|
|
67
67
|
`import ParamsItem from "@theme/ParamsItem";\n`,
|
|
68
68
|
`import ResponseSamples from "@theme/ResponseSamples";\n`,
|
|
@@ -106,7 +106,7 @@ export function createInfoPageMD({
|
|
|
106
106
|
`import ApiLogo from "@theme/ApiLogo";\n`,
|
|
107
107
|
`import SchemaTabs from "@theme/SchemaTabs";\n`,
|
|
108
108
|
`import TabItem from "@theme/TabItem";\n`,
|
|
109
|
-
`import Export from "@theme/
|
|
109
|
+
`import Export from "@theme/ApiExplorer/Export";\n\n`,
|
|
110
110
|
|
|
111
111
|
createVersionBadge(version),
|
|
112
112
|
createDownload(downloadUrl),
|