Auto Generate Syntax Docs + JSONSchema [Thu Dec 2 10:59:29 UTC 2021] 🤖

dev
GitHub Action 2021-12-02 10:59:29 +00:00
parent 3b68c29f48
commit 9a0ce60a4f
3 changed files with 24 additions and 1 deletions

View File

@ -1220,6 +1220,19 @@ SkipVariablesCheck skips the check for unresolved variables in request
<hr /> <hr />
<div class="dd">
<code>iterate-all</code> <i>bool</i>
</div>
<div class="dt">
IterateAll iterates all the values extracted from internal extractors
</div>
<hr />

View File

@ -780,6 +780,11 @@
"type": "boolean", "type": "boolean",
"title": "skip variable checks", "title": "skip variable checks",
"description": "Skips the check for unresolved variables in request" "description": "Skips the check for unresolved variables in request"
},
"iterate-all": {
"type": "boolean",
"title": "iterate all the values",
"description": "Iterates all the values extracted from internal extractors"
} }
}, },
"additionalProperties": false, "additionalProperties": false,

View File

@ -282,7 +282,7 @@ func init() {
FieldName: "requests", FieldName: "requests",
}, },
} }
HTTPRequestDoc.Fields = make([]encoder.Doc, 26) HTTPRequestDoc.Fields = make([]encoder.Doc, 27)
HTTPRequestDoc.Fields[0].Name = "matchers" HTTPRequestDoc.Fields[0].Name = "matchers"
HTTPRequestDoc.Fields[0].Type = "[]matchers.Matcher" HTTPRequestDoc.Fields[0].Type = "[]matchers.Matcher"
HTTPRequestDoc.Fields[0].Note = "" HTTPRequestDoc.Fields[0].Note = ""
@ -442,6 +442,11 @@ func init() {
HTTPRequestDoc.Fields[25].Note = "" HTTPRequestDoc.Fields[25].Note = ""
HTTPRequestDoc.Fields[25].Description = "SkipVariablesCheck skips the check for unresolved variables in request" HTTPRequestDoc.Fields[25].Description = "SkipVariablesCheck skips the check for unresolved variables in request"
HTTPRequestDoc.Fields[25].Comments[encoder.LineComment] = "SkipVariablesCheck skips the check for unresolved variables in request" HTTPRequestDoc.Fields[25].Comments[encoder.LineComment] = "SkipVariablesCheck skips the check for unresolved variables in request"
HTTPRequestDoc.Fields[26].Name = "iterate-all"
HTTPRequestDoc.Fields[26].Type = "bool"
HTTPRequestDoc.Fields[26].Note = ""
HTTPRequestDoc.Fields[26].Description = "IterateAll iterates all the values extracted from internal extractors"
HTTPRequestDoc.Fields[26].Comments[encoder.LineComment] = "IterateAll iterates all the values extracted from internal extractors"
MATCHERSMatcherDoc.Type = "matchers.Matcher" MATCHERSMatcherDoc.Type = "matchers.Matcher"
MATCHERSMatcherDoc.Comments[encoder.LineComment] = " Matcher is used to match a part in the output from a protocol." MATCHERSMatcherDoc.Comments[encoder.LineComment] = " Matcher is used to match a part in the output from a protocol."