Auto Generate Syntax Docs + JSONSchema [Mon Feb 28 07:41:00 UTC 2022] 🤖

dev
GitHub Action 2022-02-28 07:41:00 +00:00
parent bd35ad76ef
commit d3f06ec68f
3 changed files with 3 additions and 3 deletions

View File

@ -489,7 +489,7 @@ Severity of the template.
<div class="dd">
<code>metadata</code> <i>map[string]string</i>
<code>metadata</code> <i>map[string]interface{}</i>
</div>
<div class="dt">

View File

@ -72,7 +72,7 @@
"metadata": {
"patternProperties": {
".*": {
"type": "string"
"additionalProperties": true
}
},
"type": "object",

View File

@ -188,7 +188,7 @@ func init() {
MODELInfoDoc.Fields[5].Description = "Severity of the template."
MODELInfoDoc.Fields[5].Comments[encoder.LineComment] = "Severity of the template."
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].Description = "Metadata of the template."
MODELInfoDoc.Fields[6].Comments[encoder.LineComment] = "Metadata of the template."