MSP-8172 Keep 1 example for hex color

This commit is contained in:
Синельник Тимур Романович committed 2026-07-29 11:50:20 +03:00
1 parent 84c3529a66
commit 1db559469f
2 files changed
+2 -3

No files matched your search

+1 -1
View File
@@ -1966,7 +1966,7 @@
"primaryColor": {
"description": "Цвет в HEX",
"type": "string",
"example": "#ff4d4f,#fa8c16,#a0d911,#1890ff,#722ed1,#d4b106,#e91e63,#ff5722,#795548,#abb8c3,#525252,#689f38"
"example": "#ff4d4f"
}
}
},
+1 -2
View File
@@ -1,7 +1,6 @@
package domain
//nolint:lll
type UIDesign struct {
Name string // Название ui
PrimaryColor string `example:"#ff4d4f,#fa8c16,#a0d911,#1890ff,#722ed1,#d4b106,#e91e63,#ff5722,#795548,#abb8c3,#525252,#689f38"` // Цвет в HEX
PrimaryColor string `example:"#ff4d4f"` // Цвет в HEX
}