docusaurus-theme-openapi-docs 0.0.0-1070 → 0.0.0-1074
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.
|
@@ -133,7 +133,7 @@ function CodeSnippets({
|
|
|
133
133
|
const authOptions =
|
|
134
134
|
clonedAuth?.options?.[key] ??
|
|
135
135
|
clonedAuth?.options?.[comboAuthId];
|
|
136
|
-
placeholder = authOptions?.
|
|
136
|
+
placeholder = authOptions?.find((opt) => opt.key === key)?.name;
|
|
137
137
|
obj[key] = cleanCredentials(obj[key]);
|
|
138
138
|
} else {
|
|
139
139
|
obj[key] = `<${placeholder ?? key}>`;
|
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-
|
|
4
|
+
"version": "0.0.0-1074",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"openapi",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@types/postman-collection": "^3.5.11",
|
|
39
39
|
"@types/react-modal": "^3.16.3",
|
|
40
40
|
"concurrently": "^9.2.0",
|
|
41
|
-
"docusaurus-plugin-openapi-docs": "0.0.0-
|
|
41
|
+
"docusaurus-plugin-openapi-docs": "0.0.0-1074",
|
|
42
42
|
"docusaurus-plugin-sass": "^0.2.6",
|
|
43
43
|
"eslint-plugin-prettier": "^5.5.1"
|
|
44
44
|
},
|
|
@@ -81,5 +81,5 @@
|
|
|
81
81
|
"engines": {
|
|
82
82
|
"node": ">=14"
|
|
83
83
|
},
|
|
84
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "3d60239f7cc168258b19fb137135df436ce5ab44"
|
|
85
85
|
}
|
|
@@ -76,7 +76,7 @@ function CodeSnippets({
|
|
|
76
76
|
const authOptions =
|
|
77
77
|
clonedAuth?.options?.[key] ??
|
|
78
78
|
clonedAuth?.options?.[comboAuthId];
|
|
79
|
-
placeholder = authOptions?.
|
|
79
|
+
placeholder = authOptions?.find((opt: any) => opt.key === key)?.name;
|
|
80
80
|
obj[key] = cleanCredentials(obj[key]);
|
|
81
81
|
} else {
|
|
82
82
|
obj[key] = `<${placeholder ?? key}>`;
|