From 5eda97ece8e8ff96f081a4bcd82b29fcfc9b3f1a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 15 May 2025 17:22:21 +0000 Subject: [PATCH 1/2] Update from https://github.com/glideapps/glide/commit/1c0794d971618bc4da2f372980cadc1cc018b970 --- openapi/swagger.json | 111 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 111 insertions(+) diff --git a/openapi/swagger.json b/openapi/swagger.json index 294cbb2..91163d4 100644 --- a/openapi/swagger.json +++ b/openapi/swagger.json @@ -6,6 +6,11 @@ }, "components": { "schemas": { + "ID_of_the_table__e_g____2a1": { + "type": "string", + "description": "ID of the table, e.g., `2a1bad8b-cf7c-44437-b8c1-e3782df6`", + "example": "2a1bad8b-cf7c-44437-b8c1-e3782df6" + }, "A_collection_of_row_objects": { "type": "array", "items": { @@ -391,6 +396,59 @@ ], "additionalProperties": false }, + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "relation" + ] + }, + "from": { + "type": "object", + "properties": { + "tableID": { + "$ref": "#/components/schemas/ID_of_the_table__e_g____2a1" + }, + "columnID": { + "type": "string" + } + }, + "required": [ + "tableID", + "columnID" + ], + "additionalProperties": false + }, + "matchMultiple": { + "type": "boolean", + "description": "If true, the relation will match multiple rows in the target table" + }, + "target": { + "type": "object", + "properties": { + "tableID": { + "$ref": "#/components/schemas/ID_of_the_table__e_g____2a1" + }, + "columnID": { + "type": "string" + } + }, + "required": [ + "tableID", + "columnID" + ], + "additionalProperties": false + } + }, + "required": [ + "kind", + "from", + "target" + ], + "additionalProperties": false + }, { "type": "object", "properties": { @@ -867,6 +925,59 @@ ], "additionalProperties": false }, + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "relation" + ] + }, + "from": { + "type": "object", + "properties": { + "tableID": { + "$ref": "#/components/schemas/ID_of_the_table__e_g____2a1" + }, + "columnID": { + "type": "string" + } + }, + "required": [ + "tableID", + "columnID" + ], + "additionalProperties": false + }, + "matchMultiple": { + "type": "boolean", + "description": "If true, the relation will match multiple rows in the target table" + }, + "target": { + "type": "object", + "properties": { + "tableID": { + "$ref": "#/components/schemas/ID_of_the_table__e_g____2a1" + }, + "columnID": { + "type": "string" + } + }, + "required": [ + "tableID", + "columnID" + ], + "additionalProperties": false + } + }, + "required": [ + "kind", + "from", + "target" + ], + "additionalProperties": false + }, { "type": "object", "properties": { From 4512135d46a8717a1171568673f895ef7f7275aa Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 15 May 2025 21:58:07 +0000 Subject: [PATCH 2/2] Update from https://github.com/glideapps/glide/commit/596bf564fb6c3aebacef74d5dc4ac39d637c00a8 --- openapi/swagger.json | 51 +++++++++++--------------------------------- 1 file changed, 12 insertions(+), 39 deletions(-) diff --git a/openapi/swagger.json b/openapi/swagger.json index 91163d4..77791fd 100644 --- a/openapi/swagger.json +++ b/openapi/swagger.json @@ -6,11 +6,6 @@ }, "components": { "schemas": { - "ID_of_the_table__e_g____2a1": { - "type": "string", - "description": "ID of the table, e.g., `2a1bad8b-cf7c-44437-b8c1-e3782df6`", - "example": "2a1bad8b-cf7c-44437-b8c1-e3782df6" - }, "A_collection_of_row_objects": { "type": "array", "items": { @@ -405,21 +400,8 @@ "relation" ] }, - "from": { - "type": "object", - "properties": { - "tableID": { - "$ref": "#/components/schemas/ID_of_the_table__e_g____2a1" - }, - "columnID": { - "type": "string" - } - }, - "required": [ - "tableID", - "columnID" - ], - "additionalProperties": false + "columnID": { + "type": "string" }, "matchMultiple": { "type": "boolean", @@ -429,7 +411,9 @@ "type": "object", "properties": { "tableID": { - "$ref": "#/components/schemas/ID_of_the_table__e_g____2a1" + "type": "string", + "description": "ID of the table, e.g., `2a1bad8b-cf7c-44437-b8c1-e3782df6`", + "example": "2a1bad8b-cf7c-44437-b8c1-e3782df6" }, "columnID": { "type": "string" @@ -444,7 +428,7 @@ }, "required": [ "kind", - "from", + "columnID", "target" ], "additionalProperties": false @@ -934,21 +918,8 @@ "relation" ] }, - "from": { - "type": "object", - "properties": { - "tableID": { - "$ref": "#/components/schemas/ID_of_the_table__e_g____2a1" - }, - "columnID": { - "type": "string" - } - }, - "required": [ - "tableID", - "columnID" - ], - "additionalProperties": false + "columnID": { + "type": "string" }, "matchMultiple": { "type": "boolean", @@ -958,7 +929,9 @@ "type": "object", "properties": { "tableID": { - "$ref": "#/components/schemas/ID_of_the_table__e_g____2a1" + "type": "string", + "description": "ID of the table, e.g., `2a1bad8b-cf7c-44437-b8c1-e3782df6`", + "example": "2a1bad8b-cf7c-44437-b8c1-e3782df6" }, "columnID": { "type": "string" @@ -973,7 +946,7 @@ }, "required": [ "kind", - "from", + "columnID", "target" ], "additionalProperties": false