We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a6206c commit b53c5abCopy full SHA for b53c5ab
plugin/plugin.go
@@ -91,6 +91,7 @@ func NewPlugin(name string, version string, newClient NewClientFunc, options ...
91
if p.schema != "" {
92
c := jsonschema.NewCompiler()
93
c.Draft = jsonschema.Draft2020
94
+ c.AssertFormat = true
95
if err := c.AddResource("schema.json", strings.NewReader(p.schema)); err != nil {
96
panic(fmt.Errorf("failed add plugin JSONSchema: %w", err))
97
}
0 commit comments