From 7725e623a8771b55ea1602d6b341544ac82381fb Mon Sep 17 00:00:00 2001 From: Garry Trinder Date: Fri, 13 Dec 2024 17:28:38 +0000 Subject: [PATCH] Remove optional configSection properties from snippets. Closes #165 --- src/snippets.json | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/src/snippets.json b/src/snippets.json index 36a8fdb..4ceec76 100644 --- a/src/snippets.json +++ b/src/snippets.json @@ -255,8 +255,7 @@ "{", "\t\"name\": \"CachingGuidancePlugin\",", "\t\"enabled\": true,", - "\t\"pluginPath\": \"~appFolder/plugins/dev-proxy-plugins.dll\",", - "\t\"configSection\": \"cachingGuidance\"", + "\t\"pluginPath\": \"~appFolder/plugins/dev-proxy-plugins.dll\"", "}" ], "description": "CachingGuidancePlugin instance" @@ -330,8 +329,7 @@ "{", "\t\"name\": \"DevToolsPlugin\",", "\t\"enabled\": true,", - "\t\"pluginPath\": \"~appFolder/plugins/dev-proxy-plugins.dll\",", - "\t\"configSection\": \"devTools\"", + "\t\"pluginPath\": \"~appFolder/plugins/dev-proxy-plugins.dll\"", "}" ], "description": "DevToolsPlugin instance" @@ -372,8 +370,7 @@ "{", "\t\"name\": \"ExecutionSummaryPlugin\",", "\t\"enabled\": true,", - "\t\"pluginPath\": \"~appFolder/plugins/dev-proxy-plugins.dll\",", - "\t\"configSection\": \"executionSummaryPlugin\"", + "\t\"pluginPath\": \"~appFolder/plugins/dev-proxy-plugins.dll\"", "}" ], "description": "ExecutionSummaryPlugin instance" @@ -547,8 +544,7 @@ "{", "\t\"name\": \"GraphRandomErrorPlugin\",", "\t\"enabled\": true,", - "\t\"pluginPath\": \"~appFolder/plugins/dev-proxy-plugins.dll\",", - "\t\"configSection\": \"graphRandomErrorPlugin\",", + "\t\"pluginPath\": \"~appFolder/plugins/dev-proxy-plugins.dll\"", "\t\"urlsToWatch\": [", "\t\t\"https://graph.microsoft.com/v1.0/*\",", "\t\t\"https://graph.microsoft.com/beta/*\",", @@ -620,8 +616,7 @@ "{", "\t\"name\": \"HttpFileGeneratorPlugin\",", "\t\"enabled\": true,", - "\t\"pluginPath\": \"~appFolder/plugins/dev-proxy-plugins.dll\",", - "\t\"configSection\": \"latencyPlugin\"", + "\t\"pluginPath\": \"~appFolder/plugins/dev-proxy-plugins.dll\"", "}" ], "description": "HttpFileGeneratorPlugin instance" @@ -807,8 +802,7 @@ "{", "\t\"name\": \"RateLimitingPlugin\",", "\t\"enabled\": true,", - "\t\"pluginPath\": \"~appFolder/plugins/dev-proxy-plugins.dll\",", - "\t\"configSection\": \"rateLimiting\"", + "\t\"pluginPath\": \"~appFolder/plugins/dev-proxy-plugins.dll\"", "}" ], "description": "MockResponsePlugin instance"