Browse Source

fix: swagger schema webhook test request payload type correction

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/5261/head
Pranav C 2 years ago
parent
commit
85abf58d80
  1. 2
      packages/nocodb-sdk/src/lib/Api.ts
  2. 7
      packages/nocodb/src/schema/swagger.json

2
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;
}

7
packages/nocodb/src/schema/swagger.json

@ -12728,9 +12728,16 @@
"description": "Plugin Title"
},
"input": {
"oneOf": [
{
"type": "string",
"description": "Plugin Input as JSON string"
},
{
"description": "Plugin Input"
}
]
}
},
"required": ["title", "input"]
},

Loading…
Cancel
Save