docusaurus-plugin-openapi-docs 0.0.0-730 → 0.0.0-732
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/index.js +2 -0
- package/lib/options.js +1 -0
- package/lib/types.d.ts +1 -0
- package/package.json +2 -2
- package/src/index.ts +2 -0
- package/src/options.ts +1 -0
- package/src/types.ts +1 -0
package/lib/index.js
CHANGED
|
@@ -372,6 +372,7 @@ custom_edit_url: null
|
|
|
372
372
|
version: version,
|
|
373
373
|
label: metadata.label,
|
|
374
374
|
baseUrl: metadata.baseUrl,
|
|
375
|
+
downloadUrl: metadata.downloadUrl,
|
|
375
376
|
});
|
|
376
377
|
}
|
|
377
378
|
const versionsJson = JSON.stringify(versionsArray, null, 2);
|
|
@@ -491,6 +492,7 @@ custom_edit_url: null
|
|
|
491
492
|
delete parentConfig.version;
|
|
492
493
|
delete parentConfig.label;
|
|
493
494
|
delete parentConfig.baseUrl;
|
|
495
|
+
delete parentConfig.downloadUrl;
|
|
494
496
|
// TODO: handle when no versions are defined by version command is passed
|
|
495
497
|
if (versionId === "all") {
|
|
496
498
|
if (versions[id]) {
|
package/lib/options.js
CHANGED
|
@@ -54,6 +54,7 @@ exports.OptionsSchema = utils_validation_1.Joi.object({
|
|
|
54
54
|
outputDir: utils_validation_1.Joi.string().required(),
|
|
55
55
|
label: utils_validation_1.Joi.string().required(),
|
|
56
56
|
baseUrl: utils_validation_1.Joi.string().required(),
|
|
57
|
+
downloadUrl: utils_validation_1.Joi.string(),
|
|
57
58
|
})),
|
|
58
59
|
}))
|
|
59
60
|
.required(),
|
package/lib/types.d.ts
CHANGED
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-732",
|
|
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": "64996d73bd1090d1d28399f20e332cd7b236c4c6"
|
|
64
64
|
}
|
package/src/index.ts
CHANGED
|
@@ -532,6 +532,7 @@ custom_edit_url: null
|
|
|
532
532
|
version: version,
|
|
533
533
|
label: metadata.label,
|
|
534
534
|
baseUrl: metadata.baseUrl,
|
|
535
|
+
downloadUrl: metadata.downloadUrl,
|
|
535
536
|
});
|
|
536
537
|
}
|
|
537
538
|
|
|
@@ -682,6 +683,7 @@ custom_edit_url: null
|
|
|
682
683
|
delete parentConfig.version;
|
|
683
684
|
delete parentConfig.label;
|
|
684
685
|
delete parentConfig.baseUrl;
|
|
686
|
+
delete parentConfig.downloadUrl;
|
|
685
687
|
|
|
686
688
|
// TODO: handle when no versions are defined by version command is passed
|
|
687
689
|
if (versionId === "all") {
|
package/src/options.ts
CHANGED