mirror of https://github.com/daffainfo/nuclei.git
Auto Generate Syntax Docs + JSONSchema [Mon Feb 28 07:41:00 UTC 2022] 🤖
parent
bd35ad76ef
commit
d3f06ec68f
|
@ -489,7 +489,7 @@ Severity of the template.
|
||||||
|
|
||||||
<div class="dd">
|
<div class="dd">
|
||||||
|
|
||||||
<code>metadata</code> <i>map[string]string</i>
|
<code>metadata</code> <i>map[string]interface{}</i>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="dt">
|
<div class="dt">
|
||||||
|
|
|
@ -72,7 +72,7 @@
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"patternProperties": {
|
"patternProperties": {
|
||||||
".*": {
|
".*": {
|
||||||
"type": "string"
|
"additionalProperties": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
|
|
@ -188,7 +188,7 @@ func init() {
|
||||||
MODELInfoDoc.Fields[5].Description = "Severity of the template."
|
MODELInfoDoc.Fields[5].Description = "Severity of the template."
|
||||||
MODELInfoDoc.Fields[5].Comments[encoder.LineComment] = "Severity of the template."
|
MODELInfoDoc.Fields[5].Comments[encoder.LineComment] = "Severity of the template."
|
||||||
MODELInfoDoc.Fields[6].Name = "metadata"
|
MODELInfoDoc.Fields[6].Name = "metadata"
|
||||||
MODELInfoDoc.Fields[6].Type = "map[string]string"
|
MODELInfoDoc.Fields[6].Type = "map[string]interface{}"
|
||||||
MODELInfoDoc.Fields[6].Note = ""
|
MODELInfoDoc.Fields[6].Note = ""
|
||||||
MODELInfoDoc.Fields[6].Description = "Metadata of the template."
|
MODELInfoDoc.Fields[6].Description = "Metadata of the template."
|
||||||
MODELInfoDoc.Fields[6].Comments[encoder.LineComment] = "Metadata of the template."
|
MODELInfoDoc.Fields[6].Comments[encoder.LineComment] = "Metadata of the template."
|
||||||
|
|
Loading…
Reference in New Issue