Browse Source

fix: remove title from required list and allow empty string as well

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

2
packages/nocodb-sdk/src/lib/Api.ts

@ -2026,7 +2026,7 @@ export interface TableReqType {
* Table title
* @example My Table
*/
title: string;
title?: string;
}
/**

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

@ -13581,11 +13581,11 @@
"description": "Table title",
"example": "My Table",
"maxLength": 255,
"minLength": 1,
"minLength": 0,
"type": "string"
}
},
"required": ["columns", "table_name", "title"],
"required": ["columns", "table_name"],
"title": "Table Request Model",
"type": "object"
},

Loading…
Cancel
Save