docusaurus-plugin-openapi-docs 0.0.0-454 → 0.0.0-457
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 +1 -0
- package/lib/openapi/openapi.js +2 -2
- package/package.json +2 -2
- package/src/index.ts +1 -0
- package/src/openapi/openapi.ts +1 -1
package/lib/index.js
CHANGED
package/lib/openapi/openapi.js
CHANGED
|
@@ -59,7 +59,7 @@ async function createPostmanCollection(openapiData) {
|
|
|
59
59
|
return await jsonToCollection(data);
|
|
60
60
|
}
|
|
61
61
|
function createItems(openapiData, sidebarOptions) {
|
|
62
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
62
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
63
63
|
// TODO: Find a better way to handle this
|
|
64
64
|
let items = [];
|
|
65
65
|
const infoId = (0, kebabCase_1.default)(openapiData.info.title);
|
|
@@ -155,7 +155,7 @@ function createItems(openapiData, sidebarOptions) {
|
|
|
155
155
|
infoId: infoId !== null && infoId !== void 0 ? infoId : "",
|
|
156
156
|
unversionedId: baseId,
|
|
157
157
|
title: title,
|
|
158
|
-
description: description !== null &&
|
|
158
|
+
description: (_q = operationObject.description) !== null && _q !== void 0 ? _q : "",
|
|
159
159
|
frontMatter: {},
|
|
160
160
|
api: {
|
|
161
161
|
...defaults,
|
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-457",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"openapi",
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"engines": {
|
|
69
69
|
"node": ">=14"
|
|
70
70
|
},
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "d5c212c06c1a726af5f29ed0128be9d4e77a477c"
|
|
72
72
|
}
|
package/src/index.ts
CHANGED
package/src/openapi/openapi.ts
CHANGED