Add option for json validation

This commit is contained in:
Jan Eitzinger
2022-09-13 15:22:20 +02:00
parent 732801548f
commit 777f225e91
6 changed files with 26 additions and 7 deletions

View File

@@ -78,6 +78,9 @@ type ProgramConfig struct {
// do not write to the job-archive.
DisableArchive bool `json:"disable-archive"`
// Validate json input against schema
Validate bool `json:"validate"`
// For LDAP Authentication and user synchronisation.
LdapConfig *LdapConfig `json:"ldap"`
JwtConfig *JWTAuthConfig `json:"jwts"`