Skip to content

Commit 0727627

Browse files
authored
Merge pull request kaakaww#29 from kaakaww/add-openapi-custom-variables-to-example-config
Example OpenAPI Custom Variable config
2 parents 5565807 + a07c505 commit 0727627

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

stackhawk-openapi.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,23 @@ app:
2828
openApiConf:
2929
# path: /openapi
3030
filePath: openapi.yaml
31+
includeAllMethods: true
32+
includedMethods:
33+
- POST
34+
- PUT
35+
customVariables:
36+
- field: text
37+
values:
38+
- "customTextValue1"
39+
- "customTextValue2"
40+
- "customTextValue3"
41+
- field: searchText
42+
values:
43+
- "customSearchText1"
44+
- "customSearchText2"
45+
- "customSearchText3"
46+
- field: username
47+
values:
48+
- "username1"
49+
- "username2"
50+
- "username3"

0 commit comments

Comments
 (0)