MSP-4622 schema tags
This commit is contained in:
1 parent
b2fc484c0d
commit
70dff2aed7
1 file changed
+5
-5
+5
-5
@@ -17,11 +17,11 @@ func init() {
|
||||
}
|
||||
|
||||
type Remote struct {
|
||||
LogLevel log.Level `schemaGen:"logLevel" schema:"Уровень логирования"`
|
||||
Scripts []ScriptDefinition
|
||||
CustomScripts []ScriptDefinition
|
||||
SharedScript string
|
||||
ScriptExecutionTimeoutMs int `validate:"required"`
|
||||
LogLevel log.Level `schemaGen:"logLevel" schema:"Уровень логирования"`
|
||||
Scripts []ScriptDefinition `schemaGen:"scripts" schema:"Скрипты"`
|
||||
CustomScripts []ScriptDefinition `schemaGen:"customScripts" schema:"Кастомные скрипты"`
|
||||
SharedScript string `schema:"Общий скрипт"`
|
||||
ScriptExecutionTimeoutMs int `validate:"required" schema:"Время выполнения скрипта"`
|
||||
}
|
||||
|
||||
type ScriptDefinition struct {
|
||||
|
||||
Reference in new issue
Block a user