Skip to content

Commit 07879bf

Browse files
authored
docs: updated readme [skip ci]
1 parent 0e569c4 commit 07879bf

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,25 @@ ___
2626

2727
`wiremockopenapi -o "C:/git/MyApi/OpenApi.yml" -w "C:/git/wiremock/stubs/mappings"`
2828

29+
## Example Workflow
30+
31+
```
32+
steps:
33+
- uses: actions/checkout@v3
34+
- name: Setup .NET
35+
uses: actions/setup-dotnet@v2
36+
with:
37+
dotnet-version: 6.0.x
38+
- name: Install Wiremock OpenAPI Validator Tool
39+
run: dotnet tool install --global Wiremock.OpenAPIValidator
40+
- name: Run Validator
41+
run: |
42+
wiremockopenapi -o "./openapi/openapi.yaml" -w "./wiremock/mappings"
43+
```
44+
2945
___
3046

47+
3148
```
3249
-o, --openApiPath Required. File path to the Open API Spec
3350

0 commit comments

Comments
 (0)