diff --git a/app/config/specs/open-api3-1.8.x-console.json b/app/config/specs/open-api3-1.8.x-console.json index 940cfb39d5..92be9983ee 100644 --- a/app/config/specs/open-api3-1.8.x-console.json +++ b/app/config/specs/open-api3-1.8.x-console.json @@ -7860,7 +7860,10 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true } }, @@ -7970,7 +7973,10 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true }, "newKey": { @@ -8080,7 +8086,10 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true } }, @@ -8190,7 +8199,10 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true }, "newKey": { @@ -8300,7 +8312,10 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true } }, @@ -8410,7 +8425,10 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true }, "newKey": { @@ -35322,7 +35340,10 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true } }, @@ -35431,7 +35452,10 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true }, "newKey": { @@ -35540,7 +35564,10 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true } }, @@ -35649,7 +35676,10 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true }, "newKey": { @@ -35758,7 +35788,10 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true } }, @@ -35867,7 +35900,10 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true }, "newKey": { diff --git a/app/config/specs/open-api3-1.8.x-server.json b/app/config/specs/open-api3-1.8.x-server.json index 093a6c6d8e..278fc7ecec 100644 --- a/app/config/specs/open-api3-1.8.x-server.json +++ b/app/config/specs/open-api3-1.8.x-server.json @@ -7323,7 +7323,10 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true } }, @@ -7434,7 +7437,10 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true }, "newKey": { @@ -7545,7 +7551,10 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true } }, @@ -7656,7 +7665,10 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true }, "newKey": { @@ -7767,7 +7779,10 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true } }, @@ -7878,7 +7893,10 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true }, "newKey": { @@ -25756,7 +25774,10 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true } }, @@ -25866,7 +25887,10 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true }, "newKey": { @@ -25976,7 +26000,10 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true } }, @@ -26086,7 +26113,10 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true }, "newKey": { @@ -26196,7 +26226,10 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true } }, @@ -26306,7 +26339,10 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true }, "newKey": { diff --git a/app/config/specs/open-api3-latest-console.json b/app/config/specs/open-api3-latest-console.json index 940cfb39d5..92be9983ee 100644 --- a/app/config/specs/open-api3-latest-console.json +++ b/app/config/specs/open-api3-latest-console.json @@ -7860,7 +7860,10 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true } }, @@ -7970,7 +7973,10 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true }, "newKey": { @@ -8080,7 +8086,10 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true } }, @@ -8190,7 +8199,10 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true }, "newKey": { @@ -8300,7 +8312,10 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true } }, @@ -8410,7 +8425,10 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true }, "newKey": { @@ -35322,7 +35340,10 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true } }, @@ -35431,7 +35452,10 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true }, "newKey": { @@ -35540,7 +35564,10 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true } }, @@ -35649,7 +35676,10 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true }, "newKey": { @@ -35758,7 +35788,10 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true } }, @@ -35867,7 +35900,10 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true }, "newKey": { diff --git a/app/config/specs/open-api3-latest-server.json b/app/config/specs/open-api3-latest-server.json index 093a6c6d8e..278fc7ecec 100644 --- a/app/config/specs/open-api3-latest-server.json +++ b/app/config/specs/open-api3-latest-server.json @@ -7323,7 +7323,10 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true } }, @@ -7434,7 +7437,10 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true }, "newKey": { @@ -7545,7 +7551,10 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true } }, @@ -7656,7 +7665,10 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true }, "newKey": { @@ -7767,7 +7779,10 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true } }, @@ -7878,7 +7893,10 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true }, "newKey": { @@ -25756,7 +25774,10 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true } }, @@ -25866,7 +25887,10 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true }, "newKey": { @@ -25976,7 +26000,10 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true } }, @@ -26086,7 +26113,10 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true }, "newKey": { @@ -26196,7 +26226,10 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true } }, @@ -26306,7 +26339,10 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true }, "newKey": { diff --git a/app/config/specs/swagger2-1.8.x-console.json b/app/config/specs/swagger2-1.8.x-console.json index 8c8b2d3bbd..956409bc02 100644 --- a/app/config/specs/swagger2-1.8.x-console.json +++ b/app/config/specs/swagger2-1.8.x-console.json @@ -7998,8 +7998,11 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } } }, "required": [ @@ -8104,8 +8107,11 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } }, "newKey": { "type": "string", @@ -8214,8 +8220,11 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } } }, "required": [ @@ -8320,8 +8329,11 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } }, "newKey": { "type": "string", @@ -8430,8 +8442,11 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } } }, "required": [ @@ -8536,8 +8551,11 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } }, "newKey": { "type": "string", @@ -35470,8 +35488,11 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } } }, "required": [ @@ -35575,8 +35596,11 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } }, "newKey": { "type": "string", @@ -35684,8 +35708,11 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } } }, "required": [ @@ -35789,8 +35816,11 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } }, "newKey": { "type": "string", @@ -35898,8 +35928,11 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } } }, "required": [ @@ -36003,8 +36036,11 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } }, "newKey": { "type": "string", diff --git a/app/config/specs/swagger2-1.8.x-server.json b/app/config/specs/swagger2-1.8.x-server.json index cf517db7ad..a5764e80c3 100644 --- a/app/config/specs/swagger2-1.8.x-server.json +++ b/app/config/specs/swagger2-1.8.x-server.json @@ -7451,8 +7451,11 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } } }, "required": [ @@ -7558,8 +7561,11 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } }, "newKey": { "type": "string", @@ -7669,8 +7675,11 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } } }, "required": [ @@ -7776,8 +7785,11 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } }, "newKey": { "type": "string", @@ -7887,8 +7899,11 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } } }, "required": [ @@ -7994,8 +8009,11 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } }, "newKey": { "type": "string", @@ -25959,8 +25977,11 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } } }, "required": [ @@ -26065,8 +26086,11 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } }, "newKey": { "type": "string", @@ -26175,8 +26199,11 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } } }, "required": [ @@ -26281,8 +26308,11 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } }, "newKey": { "type": "string", @@ -26391,8 +26421,11 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } } }, "required": [ @@ -26497,8 +26530,11 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } }, "newKey": { "type": "string", diff --git a/app/config/specs/swagger2-latest-console.json b/app/config/specs/swagger2-latest-console.json index 8c8b2d3bbd..956409bc02 100644 --- a/app/config/specs/swagger2-latest-console.json +++ b/app/config/specs/swagger2-latest-console.json @@ -7998,8 +7998,11 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } } }, "required": [ @@ -8104,8 +8107,11 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } }, "newKey": { "type": "string", @@ -8214,8 +8220,11 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } } }, "required": [ @@ -8320,8 +8329,11 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } }, "newKey": { "type": "string", @@ -8430,8 +8442,11 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } } }, "required": [ @@ -8536,8 +8551,11 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } }, "newKey": { "type": "string", @@ -35470,8 +35488,11 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } } }, "required": [ @@ -35575,8 +35596,11 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } }, "newKey": { "type": "string", @@ -35684,8 +35708,11 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } } }, "required": [ @@ -35789,8 +35816,11 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } }, "newKey": { "type": "string", @@ -35898,8 +35928,11 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } } }, "required": [ @@ -36003,8 +36036,11 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } }, "newKey": { "type": "string", diff --git a/app/config/specs/swagger2-latest-server.json b/app/config/specs/swagger2-latest-server.json index cf517db7ad..a5764e80c3 100644 --- a/app/config/specs/swagger2-latest-server.json +++ b/app/config/specs/swagger2-latest-server.json @@ -7451,8 +7451,11 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } } }, "required": [ @@ -7558,8 +7561,11 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } }, "newKey": { "type": "string", @@ -7669,8 +7675,11 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } } }, "required": [ @@ -7776,8 +7785,11 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } }, "newKey": { "type": "string", @@ -7887,8 +7899,11 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } } }, "required": [ @@ -7994,8 +8009,11 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } }, "newKey": { "type": "string", @@ -25959,8 +25977,11 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } } }, "required": [ @@ -26065,8 +26086,11 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } }, "newKey": { "type": "string", @@ -26175,8 +26199,11 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } } }, "required": [ @@ -26281,8 +26308,11 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } }, "newKey": { "type": "string", @@ -26391,8 +26421,11 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } } }, "required": [ @@ -26497,8 +26530,11 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } }, "newKey": { "type": "string", diff --git a/src/Appwrite/SDK/Specification/Format/OpenAPI3.php b/src/Appwrite/SDK/Specification/Format/OpenAPI3.php index 31894d48f5..7d7cc9d65d 100644 --- a/src/Appwrite/SDK/Specification/Format/OpenAPI3.php +++ b/src/Appwrite/SDK/Specification/Format/OpenAPI3.php @@ -401,7 +401,6 @@ class OpenAPI3 extends Format $node['schema']['x-example'] = '<' . \strtoupper(Template::fromCamelCaseToSnake($node['name'])) . '>'; break; case 'Utopia\Validator\Boolean': - case 'Appwrite\Utopia\Database\Validator\Spatial': $node['schema']['type'] = $validator->getType(); $node['schema']['x-example'] = false; break; @@ -448,6 +447,12 @@ class OpenAPI3 extends Format 'type' => $validator->getValidator()->getType(), ]; break; + case 'Appwrite\Utopia\Database\Validator\Spatial': + $node['schema']['type'] = 'array'; + $node['schema']['items'] = [ + 'type' => '{}', + ]; + break; case 'Appwrite\Utopia\Database\Validator\Queries\Columns': case 'Appwrite\Utopia\Database\Validator\Queries\Attributes': case 'Appwrite\Utopia\Database\Validator\Queries\Buckets': diff --git a/src/Appwrite/SDK/Specification/Format/Swagger2.php b/src/Appwrite/SDK/Specification/Format/Swagger2.php index adf9b2faee..5cdb7c642c 100644 --- a/src/Appwrite/SDK/Specification/Format/Swagger2.php +++ b/src/Appwrite/SDK/Specification/Format/Swagger2.php @@ -427,7 +427,6 @@ class Swagger2 extends Format $node['x-example'] = '<' . \strtoupper(Template::fromCamelCaseToSnake($node['name'])) . '>'; break; case 'Utopia\Validator\Boolean': - case 'Appwrite\Utopia\Database\Validator\Spatial': $node['type'] = $validator->getType(); $node['x-example'] = false; break; @@ -463,6 +462,12 @@ class Swagger2 extends Format 'type' => $validator->getValidator()->getType(), ]; break; + case 'Appwrite\Utopia\Database\Validator\Spatial': + $node['type'] = 'array'; + $node['items'] = [ + 'type' => '{}', + ]; + break; case 'Utopia\Validator\JSON': case 'Utopia\Validator\Mock': case 'Utopia\Validator\Assoc':