diff --git a/assets/openapi.json b/assets/openapi.json
index bb0f22b8a..623ffd8d8 100644
--- a/assets/openapi.json
+++ b/assets/openapi.json
@@ -669,27 +669,10 @@
"type": "integer"
},
"theme_colors": {
+ "type": "array",
"items": {
"type": "integer"
- },
- "anyOf": [
- {
- "type": "array",
- "items": [
- {
- "type": "integer"
- },
- {
- "type": "integer"
- }
- ],
- "minItems": 2,
- "maxItems": 2
- },
- {
- "type": "null"
- }
- ]
+ }
},
"popout_animation_particle_type": {
"type": "string",
diff --git a/assets/schemas.json b/assets/schemas.json
index 7afc0e440..a4bfe82a5 100644
--- a/assets/schemas.json
+++ b/assets/schemas.json
@@ -694,27 +694,10 @@
"type": "integer"
},
"theme_colors": {
+ "type": "array",
"items": {
"type": "integer"
- },
- "anyOf": [
- {
- "type": "array",
- "items": [
- {
- "type": "integer"
- },
- {
- "type": "integer"
- }
- ],
- "minItems": 2,
- "maxItems": 2
- },
- {
- "type": "null"
- }
- ]
+ }
},
"popout_animation_particle_type": {
"type": [
diff --git a/src/schemas/api/users/User.ts b/src/schemas/api/users/User.ts
index 426363271..abc334be6 100644
--- a/src/schemas/api/users/User.ts
+++ b/src/schemas/api/users/User.ts
@@ -227,6 +227,7 @@ export class UserProfileModifySchema {
*/
accent_color?: number | null;
/**
+ * @type array
* @items.type integer
*/
theme_colors?: [number, number] | null;
|