diff --git a/packages/nocodb-sdk/src/lib/Api.ts b/packages/nocodb-sdk/src/lib/Api.ts index b3ca3a64b4..6e7af05297 100644 --- a/packages/nocodb-sdk/src/lib/Api.ts +++ b/packages/nocodb-sdk/src/lib/Api.ts @@ -1716,7 +1716,7 @@ export interface PluginReqType { export interface PluginTestReqType { /** Plugin Title */ title: string; - /** Plugin Input */ + /** Plugin Input as JSON string */ input: string; } diff --git a/packages/nocodb/src/schema/swagger.json b/packages/nocodb/src/schema/swagger.json index b656a26dcb..f89002758e 100644 --- a/packages/nocodb/src/schema/swagger.json +++ b/packages/nocodb/src/schema/swagger.json @@ -12728,8 +12728,15 @@ "description": "Plugin Title" }, "input": { - "type": "string", - "description": "Plugin Input" + "oneOf": [ + { + "type": "string", + "description": "Plugin Input as JSON string" + }, + { + "description": "Plugin Input" + } + ] } }, "required": ["title", "input"]