docusaurus-theme-openapi-docs 0.0.0-957 → 0.0.0-958
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.
|
@@ -53,6 +53,7 @@ function Authorization() {
|
|
|
53
53
|
{ label: "Bearer Token", key: a.key + "-bearer" },
|
|
54
54
|
react_1.default.createElement(FormTextInput_1.default, {
|
|
55
55
|
placeholder: "Bearer Token",
|
|
56
|
+
password: true,
|
|
56
57
|
value: data[a.key].token ?? "",
|
|
57
58
|
onChange: (e) => {
|
|
58
59
|
const value = e.target.value;
|
|
@@ -73,6 +74,7 @@ function Authorization() {
|
|
|
73
74
|
{ label: "Bearer Token", key: a.key + "-oauth2" },
|
|
74
75
|
react_1.default.createElement(FormTextInput_1.default, {
|
|
75
76
|
placeholder: "Bearer Token",
|
|
77
|
+
password: true,
|
|
76
78
|
value: data[a.key].token ?? "",
|
|
77
79
|
onChange: (e) => {
|
|
78
80
|
const value = e.target.value;
|
|
@@ -136,6 +138,7 @@ function Authorization() {
|
|
|
136
138
|
{ label: `${a.key}`, key: a.key + "-apikey" },
|
|
137
139
|
react_1.default.createElement(FormTextInput_1.default, {
|
|
138
140
|
placeholder: `${a.key}`,
|
|
141
|
+
password: true,
|
|
139
142
|
value: data[a.key].apiKey ?? "",
|
|
140
143
|
onChange: (e) => {
|
|
141
144
|
const value = e.target.value;
|
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-958",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"openapi",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@types/file-saver": "^2.0.5",
|
|
35
35
|
"@types/lodash": "^4.14.176",
|
|
36
36
|
"concurrently": "^5.2.0",
|
|
37
|
-
"docusaurus-plugin-openapi-docs": "0.0.0-
|
|
37
|
+
"docusaurus-plugin-openapi-docs": "0.0.0-958",
|
|
38
38
|
"docusaurus-plugin-sass": "^0.2.3",
|
|
39
39
|
"eslint-plugin-prettier": "^5.0.1"
|
|
40
40
|
},
|
|
@@ -75,5 +75,5 @@
|
|
|
75
75
|
"engines": {
|
|
76
76
|
"node": ">=14"
|
|
77
77
|
},
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "b656ed40c8fd6e9ce746775fd4e05fcddf349252"
|
|
79
79
|
}
|
|
@@ -48,6 +48,7 @@ function Authorization() {
|
|
|
48
48
|
<FormItem label="Bearer Token" key={a.key + "-bearer"}>
|
|
49
49
|
<FormTextInput
|
|
50
50
|
placeholder="Bearer Token"
|
|
51
|
+
password
|
|
51
52
|
value={data[a.key].token ?? ""}
|
|
52
53
|
onChange={(e: React.ChangeEvent<HTMLInputElement>) => {
|
|
53
54
|
const value = e.target.value;
|
|
@@ -69,6 +70,7 @@ function Authorization() {
|
|
|
69
70
|
<FormItem label="Bearer Token" key={a.key + "-oauth2"}>
|
|
70
71
|
<FormTextInput
|
|
71
72
|
placeholder="Bearer Token"
|
|
73
|
+
password
|
|
72
74
|
value={data[a.key].token ?? ""}
|
|
73
75
|
onChange={(e: React.ChangeEvent<HTMLInputElement>) => {
|
|
74
76
|
const value = e.target.value;
|
|
@@ -130,6 +132,7 @@ function Authorization() {
|
|
|
130
132
|
<FormItem label={`${a.key}`} key={a.key + "-apikey"}>
|
|
131
133
|
<FormTextInput
|
|
132
134
|
placeholder={`${a.key}`}
|
|
135
|
+
password
|
|
133
136
|
value={data[a.key].apiKey ?? ""}
|
|
134
137
|
onChange={(e: React.ChangeEvent<HTMLInputElement>) => {
|
|
135
138
|
const value = e.target.value;
|