This commit is contained in:
Синельник Тимур Романович committed 2026-03-18 16:51:54 +03:00
1 parent b692728cc3
commit 59875487ae
7 files changed
+13 -7

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ import (
func init() {
schema.CustomGenerators.Register("logLevel", func(field reflect.StructField, t *jsonschema.Schema) {
t.Type = "string"
t.Enum = []interface{}{"debug", "info", "warn", "error", "fatal"}
t.Enum = []any{"debug", "info", "warn", "error", "fatal"}
})
}