docusaurus-plugin-openapi-docs 0.0.0-493 → 0.0.0-495
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/sidebars/index.js +1 -1
- package/package.json +2 -2
- package/src/sidebars/index.ts +1 -1
package/lib/sidebars/index.js
CHANGED
|
@@ -74,7 +74,7 @@ function groupByTags(items, sidebarOptions, options, tags, docPath) {
|
|
|
74
74
|
.map((tag) => {
|
|
75
75
|
var _a;
|
|
76
76
|
// Map info object to tag
|
|
77
|
-
const taggedInfoObject = intros.find((i) => i.tags ? i.tags.
|
|
77
|
+
const taggedInfoObject = intros.find((i) => i.tags ? i.tags.find((t) => t.name === tag) : undefined);
|
|
78
78
|
const tagObject = tags.flat().find((t) => {
|
|
79
79
|
var _a;
|
|
80
80
|
return (_a = tag === t.name) !== null && _a !== void 0 ? _a : {
|
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-495",
|
|
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": "97566d7e38840a71f7d6ea1a92b9db425e5bed8c"
|
|
72
72
|
}
|
package/src/sidebars/index.ts
CHANGED
|
@@ -110,7 +110,7 @@ function groupByTags(
|
|
|
110
110
|
.map((tag) => {
|
|
111
111
|
// Map info object to tag
|
|
112
112
|
const taggedInfoObject = intros.find((i) =>
|
|
113
|
-
i.tags ? i.tags.
|
|
113
|
+
i.tags ? i.tags.find((t: any) => t.name === tag) : undefined
|
|
114
114
|
);
|
|
115
115
|
const tagObject = tags.flat().find(
|
|
116
116
|
(t) =>
|