Skip to content

Commit 5552773

Browse files
authored
Add rate property to generic random error config snippets. Closes #196 (#197)
Closes #196
1 parent ff5a1a1 commit 5552773

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1414
- Snippets: Updated schema urls to reflect the move to dotnet organisation in Github
1515
- Snippets: All snippets that reference schemas updated to use `v0.25.0` schema
1616
- Code action: Updated update schema code action to reflect the move to dotnet organisation in Github
17+
- Snippets: `rate` property added to `devproxy-plugin-generic-random-error-config` and `devproxy-plugin-graph-random-error-config`
1718

1819
### Fixed:
1920

src/snippets.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,7 @@
401401
"body": [
402402
"\"genericRandomErrorPlugin\": {",
403403
"\t\"errorsFile\": \"errors.json\"",
404+
"\t\"rate\": 50",
404405
"}"
405406
],
406407
"description": "GenericRandomErrorPlugin config section"
@@ -564,6 +565,7 @@
564565
"body": [
565566
"\"graphRandomErrorPlugin\": {",
566567
"\t\"allowedErrors\": [ 429, 500, 502, 503, 504, 507 ]",
568+
"\t\"rate\": 50",
567569
"}"
568570
],
569571
"description": "GraphRandomErrorPlugin config section"

0 commit comments

Comments
 (0)