Skip to content

Commit 0c80c42

Browse files
authored
Snippet fixes (#79)
Remove trailing comma from config section snippets Fix ApiCenterOnboardingPluginConfig snippet Remove trailing comma from ApiCenterOnboardingPlugin instance
1 parent 5e3a68a commit 0c80c42

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

src/snippets.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
"\t\"name\": \"ApiCenterOnboardingPlugin\",",
101101
"\t\"enabled\": true,",
102102
"\t\"pluginPath\": \"~appFolder/plugins/dev-proxy-plugins.dll\",",
103-
"\t\"configSection\": \"apiCenterOnboardingPlugin\",",
103+
"\t\"configSection\": \"apiCenterOnboardingPlugin\"",
104104
"}"
105105
],
106106
"description": "ApiCenterOnboardingPlugin instance"
@@ -113,7 +113,7 @@
113113
"\t\"resourceGroupName\": \"resource-group-name\",",
114114
"\t\"serviceName\": \"apic-instance\",",
115115
"\t\"workspaceName\": \"default\",",
116-
"\t\"serviceName\": true",
116+
"\t\"createApicEntryForNewApis\": true",
117117
"}"
118118
],
119119
"description": "ApiCenterOnboardingPlugin config section"
@@ -159,7 +159,7 @@
159159
"body": [
160160
"\"cachingGuidance\": {",
161161
"\t\"cacheThresholdSeconds\": 5",
162-
"},"
162+
"}"
163163
],
164164
"description": "CachingGuidancePlugin config section"
165165
},
@@ -180,7 +180,7 @@
180180
"body": [
181181
"\"customersApi\": {",
182182
"\t\"apiFile\": \"customers-api.json\"",
183-
"},"
183+
"}"
184184
],
185185
"description": "CrudApiPlugin config section"
186186
},
@@ -234,7 +234,7 @@
234234
"body": [
235235
"\"devTools\": {",
236236
"\t\"preferredBrowser\": \"Edge\"",
237-
"},"
237+
"}"
238238
],
239239
"description": "DevToolsPlugin config section"
240240
},
@@ -255,7 +255,7 @@
255255
"body": [
256256
"\"mocksPlugin\": {",
257257
"\t\"mocksFile\": \"mocks.json\"",
258-
"},"
258+
"}"
259259
],
260260
"description": "EntraMockResponsePlugin config section"
261261
},
@@ -276,7 +276,7 @@
276276
"body": [
277277
"\"executionSummaryPlugin\": {",
278278
"\t\"groupBy\": \"url\"",
279-
"},"
279+
"}"
280280
],
281281
"description": "ExecutionSummaryPlugin config section"
282282
},
@@ -297,7 +297,7 @@
297297
"body": [
298298
"\"genericRandomErrorPlugin\": {",
299299
"\t\"errorsFile\": \"errors.json\"",
300-
"},"
300+
"}"
301301
],
302302
"description": "GenericRandomErrorPlugin config section"
303303
},
@@ -407,7 +407,7 @@
407407
"body": [
408408
"\"graphRandomErrorPlugin\": {",
409409
"\t\"allowedErrors\": [ 429, 500, 502, 503, 504, 507 ]",
410-
"},"
410+
"}"
411411
],
412412
"description": "GraphRandomErrorPlugin config section"
413413
},
@@ -471,7 +471,7 @@
471471
"\"latencyPlugin\": {",
472472
"\t\"minMs\": 200,",
473473
"\t\"maxMs\": 10000",
474-
"},"
474+
"}"
475475
],
476476
"description": "LatencyPlugin config section"
477477
},
@@ -492,7 +492,7 @@
492492
"body": [
493493
"\"minimalPermissionsGuidancePlugin\": {",
494494
"\t\"filePath\": \"permissions-summary.json\"",
495-
"},"
495+
"}"
496496
],
497497
"description": "MinimalPermissionsGuidancePlugin config section"
498498
},
@@ -513,7 +513,7 @@
513513
"body": [
514514
"\"minimalPermissionsPlugin\": {",
515515
"\t\"type\": \"delegated\"",
516-
"},"
516+
"}"
517517
],
518518
"description": "MinimalPermissionsPlugin config section"
519519
},
@@ -545,7 +545,7 @@
545545
"body": [
546546
"\"mockRequestPlugin\": {",
547547
"\t\"mockFile\": \"mock-request.json\"",
548-
"},"
548+
"}"
549549
],
550550
"description": "MockResponsePlugin config section"
551551
},
@@ -566,7 +566,7 @@
566566
"body": [
567567
"\"mocksPlugin\": {",
568568
"\t\"mocksFile\": \"mocks.json\"",
569-
"},"
569+
"}"
570570
],
571571
"description": "MockResponsePlugin config section"
572572
},
@@ -639,7 +639,7 @@
639639
"\t\"costPerRequest\": 2,",
640640
"\t\"rateLimit\": 120,",
641641
"\t\"retryAfterSeconds\": 5",
642-
"},"
642+
"}"
643643
],
644644
"description": "RateLimitingPlugin config section"
645645
},

0 commit comments

Comments
 (0)