Auto Generate Syntax Docs + JSONSchema [Thu Feb 10 10:30:58 UTC 2022] 🤖

This commit is contained in:
GitHub Action 2022-02-10 10:30:58 +00:00
parent 7d83d3f8c9
commit d7d896b75a
3 changed files with 35 additions and 1 deletions

View File

@ -1694,6 +1694,26 @@ Valid values:
<hr />
<div class="dd">
<code>match-all</code> <i>bool</i>
</div>
<div class="dt">
MatchAll enables matching for all matcher values. Default is false.
Valid values:
- <code>false</code>
- <code>true</code>
</div>
<hr />

View File

@ -300,6 +300,11 @@
"type": "boolean",
"title": "use case insensitive match",
"description": "use case insensitive match"
},
"match-all": {
"type": "boolean",
"title": "match all values",
"description": "match all matcher values ignoring condition"
}
},
"additionalProperties": false,

View File

@ -599,7 +599,7 @@ func init() {
FieldName: "matchers",
},
}
MATCHERSMatcherDoc.Fields = make([]encoder.Doc, 13)
MATCHERSMatcherDoc.Fields = make([]encoder.Doc, 14)
MATCHERSMatcherDoc.Fields[0].Name = "type"
MATCHERSMatcherDoc.Fields[0].Type = "MatcherTypeHolder"
MATCHERSMatcherDoc.Fields[0].Note = ""
@ -702,6 +702,15 @@ func init() {
"false",
"true",
}
MATCHERSMatcherDoc.Fields[13].Name = "match-all"
MATCHERSMatcherDoc.Fields[13].Type = "bool"
MATCHERSMatcherDoc.Fields[13].Note = ""
MATCHERSMatcherDoc.Fields[13].Description = "MatchAll enables matching for all matcher values. Default is false."
MATCHERSMatcherDoc.Fields[13].Comments[encoder.LineComment] = "MatchAll enables matching for all matcher values. Default is false."
MATCHERSMatcherDoc.Fields[13].Values = []string{
"false",
"true",
}
MatcherTypeHolderDoc.Type = "MatcherTypeHolder"
MatcherTypeHolderDoc.Comments[encoder.LineComment] = " MatcherTypeHolder is used to hold internal type of the matcher"