summary refs log tree commit diff
path: root/assets
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-04-18 01:18:05 +1000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-04-18 01:18:05 +1000
commitcec495cc5f1083a43330a56b65d4eba67d376dbf (patch)
tree1619815f5ae7edbdc5891bfe775c70b936030318 /assets
parentRewrite getRouteDescriptions, fix message route not appearing in openapi spec (diff)
downloadserver-cec495cc5f1083a43330a56b65d4eba67d376dbf.tar.xz
Enforce theme_colors to be ints
Diffstat (limited to 'assets')
-rw-r--r--assets/openapi.json30
-rw-r--r--assets/schemas.json30
2 files changed, 40 insertions, 20 deletions
diff --git a/assets/openapi.json b/assets/openapi.json

index 8c1920f9..64dc53c0 100644 --- a/assets/openapi.json +++ b/assets/openapi.json
@@ -4984,12 +4984,17 @@ "type": "string" }, "theme_colors": { - "minItems": 2, - "maxItems": 2, + "items": [ + { + "type": "integer" + }, + { + "type": "integer" + } + ], "type": "array", - "items": { - "type": "integer" - } + "minItems": 2, + "maxItems": 2 } } }, @@ -5764,12 +5769,17 @@ "type": "string" }, "theme_colors": { - "minItems": 2, - "maxItems": 2, + "items": [ + { + "type": "integer" + }, + { + "type": "integer" + } + ], "type": "array", - "items": { - "type": "integer" - } + "minItems": 2, + "maxItems": 2 } } }, diff --git a/assets/schemas.json b/assets/schemas.json
index a4365b69..2c2abe8f 100644 --- a/assets/schemas.json +++ b/assets/schemas.json
@@ -79863,12 +79863,17 @@ "type": "string" }, "theme_colors": { - "minItems": 2, - "maxItems": 2, + "items": [ + { + "type": "integer" + }, + { + "type": "integer" + } + ], "type": "array", - "items": { - "type": "integer" - } + "minItems": 2, + "maxItems": 2 } }, "additionalProperties": false, @@ -180210,12 +180215,17 @@ "type": "string" }, "theme_colors": { - "minItems": 2, - "maxItems": 2, + "items": [ + { + "type": "integer" + }, + { + "type": "integer" + } + ], "type": "array", - "items": { - "type": "integer" - } + "minItems": 2, + "maxItems": 2 } }, "additionalProperties": false,