diff --git a/packages/nocodb-sdk/src/lib/Api.ts b/packages/nocodb-sdk/src/lib/Api.ts index 99ca26b1c6..dd398c1f04 100644 --- a/packages/nocodb-sdk/src/lib/Api.ts +++ b/packages/nocodb-sdk/src/lib/Api.ts @@ -311,7 +311,7 @@ export interface FormulaType { } export interface SelectOptionsType { - options: SelectOptionType; + options: SelectOptionType[]; } export interface SelectOptionType { diff --git a/scripts/sdk/swagger.json b/scripts/sdk/swagger.json index 3d53359a9e..65e459c4f1 100644 --- a/scripts/sdk/swagger.json +++ b/scripts/sdk/swagger.json @@ -7083,7 +7083,9 @@ "properties": { "options": { "type": "array", - "$ref": "#/components/schemas/SelectOption" + "items": { + "$ref": "#/components/schemas/SelectOption" + } } }, "required": [