π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
fix swagger for view update fields
Fendy Heryanto53f10bb25d5f
diff --git a/packages/nocodb/src/schema/swagger-v3-validation-patch.json b/packages/nocodb/src/schema/swagger-v3-validation-patch.jsonindex 39e6ce9f35..1b885e979e 100644--- a/packages/nocodb/src/schema/swagger-v3-validation-patch.json+++ b/packages/nocodb/src/schema/swagger-v3-validation-patch.json@@ -77,30 +77,30 @@"id": {"type": "string","description": "Unique identifier for the view."- }- },- "fields": {- "type": "array",- "items": {- "type": "object",- "properties": {- "field_id": {- "type": "string"- },- "show": {- "type": "boolean"- },- "width": {- "type": "integer"+ },+ "fields": {+ "type": "array",+ "items": {+ "type": "object",+ "properties": {+ "field_id": {+ "type": "string"+ },+ "show": {+ "type": "boolean"+ },+ "width": {+ "type": "integer"+ },+ "aggregation": {+ "$ref": "#/components/schemas/ViewAggregationEnum"+ }},- "aggregation": {- "$ref": "#/components/schemas/ViewAggregationEnum"- }- },- "required": [- "field_id",+ "required": [+ "field_id","show"- ]+ ]+ }}}}