tamabahan baru
This commit is contained in:
30
credentials/OpenapiMcpServerCredentials.credentials.js
Normal file
30
credentials/OpenapiMcpServerCredentials.credentials.js
Normal file
@@ -0,0 +1,30 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.OpenapiMcpServerCredentials = void 0;
|
||||
class OpenapiMcpServerCredentials {
|
||||
constructor() {
|
||||
this.name = "openapiMcpServerCredentials";
|
||||
this.displayName = "OpenAPI MCP Server Credentials";
|
||||
this.properties = [
|
||||
{
|
||||
displayName: "Base URL",
|
||||
name: "baseUrl",
|
||||
type: "string",
|
||||
default: "",
|
||||
placeholder: "https://api.example.com",
|
||||
description: "Masukkan URL dasar API tanpa garis miring di akhir",
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
displayName: "Bearer Token",
|
||||
name: "token",
|
||||
type: "string",
|
||||
default: "",
|
||||
typeOptions: { password: true },
|
||||
description: "Masukkan token autentikasi Bearer (tanpa 'Bearer ' di depannya)",
|
||||
required: true,
|
||||
},
|
||||
];
|
||||
}
|
||||
}
|
||||
exports.OpenapiMcpServerCredentials = OpenapiMcpServerCredentials;
|
||||
Reference in New Issue
Block a user