set default for whole api section of config

This commit is contained in:
Joel Wetzell
2026-03-30 20:17:36 -05:00
parent af92dbcce3
commit 979addeff8

View File

@@ -23,4 +23,5 @@ var ApiConfigSchema = jsonschema.Schema{
},
},
Required: []string{"port"},
Default: json.RawMessage(`{"enabled": false, "port": 8080}`),
}