docusaurus-plugin-openapi-docs 0.0.0-1077 → 0.0.0-1078
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
CHANGED
|
@@ -83,7 +83,7 @@ function createSchemaPageMD({ schema }) {
|
|
|
83
83
|
return (0, utils_1.render)([
|
|
84
84
|
`import Schema from "@theme/Schema";\n`,
|
|
85
85
|
`import Heading from "@theme/Heading";\n\n`,
|
|
86
|
-
(0, createHeading_1.createHeading)(title
|
|
86
|
+
(0, createHeading_1.createHeading)(title),
|
|
87
87
|
(0, createDescription_1.createDescription)(description),
|
|
88
88
|
(0, utils_1.create)("Schema", {
|
|
89
89
|
schema: schema,
|
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-
|
|
4
|
+
"version": "0.0.0-1078",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"openapi",
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"engines": {
|
|
66
66
|
"node": ">=14"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "39f7ab524f1f703df01e188fa168923e3657a49b"
|
|
69
69
|
}
|
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
* ========================================================================== */
|
|
7
7
|
|
|
8
|
-
import {
|
|
8
|
+
import { create } from "./utils";
|
|
9
9
|
|
|
10
10
|
export function createHeading(heading: string) {
|
|
11
11
|
return [
|
|
12
12
|
create(
|
|
13
13
|
"Heading",
|
|
14
14
|
{
|
|
15
|
-
children:
|
|
15
|
+
children: heading,
|
|
16
16
|
as: "h1",
|
|
17
17
|
className: "openapi__heading",
|
|
18
18
|
},
|
package/src/markdown/index.ts
CHANGED
|
@@ -135,7 +135,7 @@ export function createSchemaPageMD({ schema }: SchemaPageMetadata) {
|
|
|
135
135
|
return render([
|
|
136
136
|
`import Schema from "@theme/Schema";\n`,
|
|
137
137
|
`import Heading from "@theme/Heading";\n\n`,
|
|
138
|
-
createHeading(title
|
|
138
|
+
createHeading(title),
|
|
139
139
|
createDescription(description),
|
|
140
140
|
create("Schema", {
|
|
141
141
|
schema: schema,
|