π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
fix: last modified by / time is nullable on openapi
Fendy Heryantoaf9e7166888e
diff --git a/packages/nocodb/src/services/api-docs/swaggerV3/getSwaggerColumnMetasV3.ts b/packages/nocodb/src/services/api-docs/swaggerV3/getSwaggerColumnMetasV3.tsindex f7a78a34cb..64823e7047 100644--- a/packages/nocodb/src/services/api-docs/swaggerV3/getSwaggerColumnMetasV3.ts+++ b/packages/nocodb/src/services/api-docs/swaggerV3/getSwaggerColumnMetasV3.ts@@ -185,11 +185,16 @@ async function processColumnToSwaggerField(field.virtual = false;break;case UITypes.LastModifiedTime:+ field.type = ['string', 'null'];+ field.format = 'date-time';+ break;case UITypes.CreatedTime:field.type = 'string';field.format = 'date-time';break;case UITypes.LastModifiedBy:+ field.type = ['object', 'null'];+ break;case UITypes.CreatedBy:field.type = 'object';break;