From 48fa80689d460bdb80d6ca111e47c4f491e1b18c Mon Sep 17 00:00:00 2001 From: Garry Trinder Date: Mon, 24 Feb 2025 16:27:52 +0000 Subject: [PATCH] Add rate property to generic random error config snippets. Closes #196 Closes #196 --- CHANGELOG.md | 1 + src/snippets.json | 2 ++ 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 259b6bb..da199be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Snippets: Updated schema urls to reflect the move to dotnet organisation in Github - Snippets: All snippets that reference schemas updated to use `v0.25.0` schema - Code action: Updated update schema code action to reflect the move to dotnet organisation in Github +- Snippets: `rate` property added to `devproxy-plugin-generic-random-error-config` and `devproxy-plugin-graph-random-error-config` ### Fixed: diff --git a/src/snippets.json b/src/snippets.json index c19274a..cf8e1fe 100644 --- a/src/snippets.json +++ b/src/snippets.json @@ -401,6 +401,7 @@ "body": [ "\"genericRandomErrorPlugin\": {", "\t\"errorsFile\": \"errors.json\"", + "\t\"rate\": 50", "}" ], "description": "GenericRandomErrorPlugin config section" @@ -564,6 +565,7 @@ "body": [ "\"graphRandomErrorPlugin\": {", "\t\"allowedErrors\": [ 429, 500, 502, 503, 504, 507 ]", + "\t\"rate\": 50", "}" ], "description": "GraphRandomErrorPlugin config section"