You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: server/node-service/src/plugins/apiTemplate/index.ts
+23-16Lines changed: 23 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -11,19 +11,22 @@ import spec from './apiTemplate.spec.json';
11
11
constdataSourceConfig={
12
12
type: "dataSource",
13
13
params: [
14
-
{
15
-
"type": "groupTitle",
16
-
"key": "ApiKeyAuth",
17
-
"label": "Api Key Auth"
18
-
},
19
-
{
20
-
"type": "password",
21
-
"key": "ApiKeyAuth.value",
22
-
"label": "X-API-KEY",
23
-
"tooltip": "An API key is needed to be set in the Authorization header of every API call.\nFor additional support you can contact us.\n\n- APITemplate.io expects the API key to be part of all API requests to the server in a header in this format:\n ```\n X-API-KEY: [API_KEY]\n ```\n\n- Optionally we also support Authorization header\n ```\n Authorization: Token [API_KEY]\n ```\n\n**Note: You must replace the API KEY(6fa6g2pdXGIyHRhVlGh7U56Ada1eF) with your API key in the request samples.**\n",
24
-
"placeholder": "An API key is needed to be set in the Authorization header of every API call.\nFor additional support you can contact us.\n\n- APITemplate.io expects the API key to be part of all API requests to the server in a header in this format:\n ```\n X-API-KEY: [API_KEY]\n ```\n\n- Optionally we also support Authorization header\n ```\n Authorization: Token [API_KEY]\n ```\n\n**Note: You must replace the API KEY(6fa6g2pdXGIyHRhVlGh7U56Ada1eF) with your API key in the request samples.**\n"
25
-
}
26
-
]
14
+
{
15
+
key: "serverURL",
16
+
type: "textInput",
17
+
label: "Service URL",
18
+
rules: [{required: true}],
19
+
placeholder: "https://rest.apitemplate.io",
20
+
tooltip: "Input the Service URL of your ApiTemplate Endpoint.",
21
+
},
22
+
{
23
+
"type": "password",
24
+
"key": "ApiKeyAuth.value",
25
+
"label": "X-API-KEY",
26
+
"tooltip": "For additional support you can contact us. hello@apitemplate.io",
0 commit comments