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

@@ -11,6 +11,7 @@ import (
"time"
"github.com/ClusterCockpit/cc-backend/pkg/schema"
_ "github.com/santhosh-tekuri/jsonschema/v5/httploader"
)
func TestInitEmptyPath(t *testing.T) {