Skip to content

Commit 9cd2fb5

Browse files
committed
Remove optional configSection properties from snippets. Closes #165
1 parent 15b6790 commit 9cd2fb5

File tree

2 files changed

+7
-12
lines changed

2 files changed

+7
-12
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1919
- Snippets: All snippets that reference schemas updated to use `v0.24.0` schema
2020
- Diagnostics: Refactored code to be more readable and maintainable
2121
- Diagnostics: Improved config section check
22+
- Snippets: Optional config sections removed from snippets
2223

2324
### Fixed:
2425

src/snippets.json

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -255,8 +255,7 @@
255255
"{",
256256
"\t\"name\": \"CachingGuidancePlugin\",",
257257
"\t\"enabled\": true,",
258-
"\t\"pluginPath\": \"~appFolder/plugins/dev-proxy-plugins.dll\",",
259-
"\t\"configSection\": \"cachingGuidance\"",
258+
"\t\"pluginPath\": \"~appFolder/plugins/dev-proxy-plugins.dll\"",
260259
"}"
261260
],
262261
"description": "CachingGuidancePlugin instance"
@@ -330,8 +329,7 @@
330329
"{",
331330
"\t\"name\": \"DevToolsPlugin\",",
332331
"\t\"enabled\": true,",
333-
"\t\"pluginPath\": \"~appFolder/plugins/dev-proxy-plugins.dll\",",
334-
"\t\"configSection\": \"devTools\"",
332+
"\t\"pluginPath\": \"~appFolder/plugins/dev-proxy-plugins.dll\"",
335333
"}"
336334
],
337335
"description": "DevToolsPlugin instance"
@@ -372,8 +370,7 @@
372370
"{",
373371
"\t\"name\": \"ExecutionSummaryPlugin\",",
374372
"\t\"enabled\": true,",
375-
"\t\"pluginPath\": \"~appFolder/plugins/dev-proxy-plugins.dll\",",
376-
"\t\"configSection\": \"executionSummaryPlugin\"",
373+
"\t\"pluginPath\": \"~appFolder/plugins/dev-proxy-plugins.dll\"",
377374
"}"
378375
],
379376
"description": "ExecutionSummaryPlugin instance"
@@ -547,8 +544,7 @@
547544
"{",
548545
"\t\"name\": \"GraphRandomErrorPlugin\",",
549546
"\t\"enabled\": true,",
550-
"\t\"pluginPath\": \"~appFolder/plugins/dev-proxy-plugins.dll\",",
551-
"\t\"configSection\": \"graphRandomErrorPlugin\",",
547+
"\t\"pluginPath\": \"~appFolder/plugins/dev-proxy-plugins.dll\"",
552548
"\t\"urlsToWatch\": [",
553549
"\t\t\"https://graph.microsoft.com/v1.0/*\",",
554550
"\t\t\"https://graph.microsoft.com/beta/*\",",
@@ -620,8 +616,7 @@
620616
"{",
621617
"\t\"name\": \"HttpFileGeneratorPlugin\",",
622618
"\t\"enabled\": true,",
623-
"\t\"pluginPath\": \"~appFolder/plugins/dev-proxy-plugins.dll\",",
624-
"\t\"configSection\": \"latencyPlugin\"",
619+
"\t\"pluginPath\": \"~appFolder/plugins/dev-proxy-plugins.dll\"",
625620
"}"
626621
],
627622
"description": "HttpFileGeneratorPlugin instance"
@@ -807,8 +802,7 @@
807802
"{",
808803
"\t\"name\": \"RateLimitingPlugin\",",
809804
"\t\"enabled\": true,",
810-
"\t\"pluginPath\": \"~appFolder/plugins/dev-proxy-plugins.dll\",",
811-
"\t\"configSection\": \"rateLimiting\"",
805+
"\t\"pluginPath\": \"~appFolder/plugins/dev-proxy-plugins.dll\"",
812806
"}"
813807
],
814808
"description": "MockResponsePlugin instance"

0 commit comments

Comments
 (0)