Auto Generate Syntax Docs + JSONSchema [Mon Jun 26 17:28:19 UTC 2023] 🤖

dev
GitHub Action 2023-06-26 17:28:19 +00:00
parent c9d0942bc1
commit 78cd4aa40f
3 changed files with 24 additions and 1 deletions

View File

@ -2745,6 +2745,19 @@ Fuzzing describes schema to fuzz headless requests
<hr />
<div class="dd">
<code>cookie-reuse</code> <i>bool</i>
</div>
<div class="dt">
CookieReuse is an optional setting that enables cookie reuse
</div>
<hr />

View File

@ -727,6 +727,11 @@
"type": "array",
"title": "fuzzin rules for http fuzzing",
"description": "Fuzzing describes rule schema to fuzz headless requests"
},
"cookie-reuse": {
"type": "boolean",
"title": "optional cookie reuse enable",
"description": "Optional setting that enables cookie reuse"
}
},
"additionalProperties": false,

View File

@ -1212,7 +1212,7 @@ func init() {
Value: "Headless response received from client (default)",
},
}
HEADLESSRequestDoc.Fields = make([]encoder.Doc, 8)
HEADLESSRequestDoc.Fields = make([]encoder.Doc, 9)
HEADLESSRequestDoc.Fields[0].Name = "id"
HEADLESSRequestDoc.Fields[0].Type = "string"
HEADLESSRequestDoc.Fields[0].Note = ""
@ -1253,6 +1253,11 @@ func init() {
HEADLESSRequestDoc.Fields[7].Note = ""
HEADLESSRequestDoc.Fields[7].Description = "Fuzzing describes schema to fuzz headless requests"
HEADLESSRequestDoc.Fields[7].Comments[encoder.LineComment] = " Fuzzing describes schema to fuzz headless requests"
HEADLESSRequestDoc.Fields[8].Name = "cookie-reuse"
HEADLESSRequestDoc.Fields[8].Type = "bool"
HEADLESSRequestDoc.Fields[8].Note = ""
HEADLESSRequestDoc.Fields[8].Description = "CookieReuse is an optional setting that enables cookie reuse"
HEADLESSRequestDoc.Fields[8].Comments[encoder.LineComment] = "CookieReuse is an optional setting that enables cookie reuse"
ENGINEActionDoc.Type = "engine.Action"
ENGINEActionDoc.Comments[encoder.LineComment] = " Action is an action taken by the browser to reach a navigation"