mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-18 01:15:27 +00:00
Remove YAML designated formatters
This commit is contained in:
parent
fb3c3d828d
commit
0feb94a717
@ -32,11 +32,7 @@ func main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Generate jsonschema
|
// Generate jsonschema
|
||||||
r := &jsonschema.Reflector{
|
r := &jsonschema.Reflector{}
|
||||||
PreferYAMLSchema: true,
|
|
||||||
YAMLEmbeddedStructs: true,
|
|
||||||
FullyQualifyTypeNames: true,
|
|
||||||
}
|
|
||||||
jsonschemaData := r.Reflect(&templates.Template{})
|
jsonschemaData := r.Reflect(&templates.Template{})
|
||||||
|
|
||||||
var buf bytes.Buffer
|
var buf bytes.Buffer
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user