docusaurus-theme-openapi-docs 0.0.0-beta.660 → 0.0.0-beta.661
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.
|
@@ -279,7 +279,11 @@ function Body({
|
|
|
279
279
|
{ className: "openapi-tabs__schema", lazy: true },
|
|
280
280
|
react_1.default.createElement(
|
|
281
281
|
TabItem_1.default,
|
|
282
|
-
{
|
|
282
|
+
{
|
|
283
|
+
label: "Example (from schema)",
|
|
284
|
+
value: "Example (from schema)",
|
|
285
|
+
default: true,
|
|
286
|
+
},
|
|
283
287
|
react_1.default.createElement(
|
|
284
288
|
LiveEditor_1.default,
|
|
285
289
|
{ action: dispatch, language: language, required: required },
|
|
@@ -308,7 +312,11 @@ function Body({
|
|
|
308
312
|
{ className: "openapi-tabs__schema", lazy: true },
|
|
309
313
|
react_1.default.createElement(
|
|
310
314
|
TabItem_1.default,
|
|
311
|
-
{
|
|
315
|
+
{
|
|
316
|
+
label: "Example (from schema)",
|
|
317
|
+
value: "Example (from schema)",
|
|
318
|
+
default: true,
|
|
319
|
+
},
|
|
312
320
|
react_1.default.createElement(
|
|
313
321
|
LiveEditor_1.default,
|
|
314
322
|
{ action: dispatch, language: language, required: required },
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "docusaurus-theme-openapi-docs",
|
|
3
3
|
"description": "OpenAPI theme for Docusaurus.",
|
|
4
|
-
"version": "0.0.0-beta.
|
|
4
|
+
"version": "0.0.0-beta.661",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"openapi",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"clsx": "^1.1.1",
|
|
45
45
|
"copy-text-to-clipboard": "^3.1.0",
|
|
46
46
|
"crypto-js": "^4.1.1",
|
|
47
|
-
"docusaurus-plugin-openapi-docs": "0.0.0-beta.
|
|
47
|
+
"docusaurus-plugin-openapi-docs": "0.0.0-beta.661",
|
|
48
48
|
"docusaurus-plugin-sass": "^0.2.3",
|
|
49
49
|
"file-saver": "^2.0.5",
|
|
50
50
|
"lodash": "^4.17.20",
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"engines": {
|
|
69
69
|
"node": ">=14"
|
|
70
70
|
},
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "92ac7b800dfc9acd57536b5358d1e922c45be6b6"
|
|
72
72
|
}
|
|
@@ -290,7 +290,11 @@ function Body({
|
|
|
290
290
|
<FormItem>
|
|
291
291
|
<SchemaTabs className="openapi-tabs__schema" lazy>
|
|
292
292
|
{/* @ts-ignore */}
|
|
293
|
-
<TabItem
|
|
293
|
+
<TabItem
|
|
294
|
+
label="Example (from schema)"
|
|
295
|
+
value="Example (from schema)"
|
|
296
|
+
default
|
|
297
|
+
>
|
|
294
298
|
<LiveApp action={dispatch} language={language} required={required}>
|
|
295
299
|
{defaultBody}
|
|
296
300
|
</LiveApp>
|
|
@@ -317,7 +321,11 @@ function Body({
|
|
|
317
321
|
<FormItem className="openapi-explorer__form-item-body-container">
|
|
318
322
|
<SchemaTabs className="openapi-tabs__schema" lazy>
|
|
319
323
|
{/* @ts-ignore */}
|
|
320
|
-
<TabItem
|
|
324
|
+
<TabItem
|
|
325
|
+
label="Example (from schema)"
|
|
326
|
+
value="Example (from schema)"
|
|
327
|
+
default
|
|
328
|
+
>
|
|
321
329
|
<LiveApp action={dispatch} language={language} required={required}>
|
|
322
330
|
{defaultBody}
|
|
323
331
|
</LiveApp>
|