|
42 | 42 | "prefix": "devproxy-mocks-file",
|
43 | 43 | "body": [
|
44 | 44 | "{",
|
45 |
| - "\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/mockresponseplugin.schema.json\",", |
| 45 | + "\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/mockresponseplugin.mocksfile.schema.json\",", |
46 | 46 | "\t\"mocks\": [",
|
47 | 47 | "\t\t$1",
|
48 | 48 | "\t]",
|
|
53 | 53 | "MocksFileSchema": {
|
54 | 54 | "prefix": "devproxy-mocks-file-schema",
|
55 | 55 | "body": [
|
56 |
| - "\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/mockresponseplugin.schema.json\"," |
| 56 | + "\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/mockresponseplugin.mocksfile.schema.json\"," |
57 | 57 | ],
|
58 | 58 | "description": "Dev Proxy mocks file schema"
|
59 | 59 | },
|
|
126 | 126 | "prefix": "devproxy-plugin-auth-config-apikey",
|
127 | 127 | "body": [
|
128 | 128 | "\"auth\": {",
|
| 129 | + "\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/authplugin.schema.json\",", |
129 | 130 | "\t\"type\": \"apiKey\",",
|
130 | 131 | "\t\"apiKey\": {",
|
131 | 132 | "\t\t\"parameters\": [",
|
|
150 | 151 | "prefix": "devproxy-plugin-auth-config-oauth2",
|
151 | 152 | "body": [
|
152 | 153 | "\"auth\": {",
|
| 154 | + "\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/authplugin.schema.json\",", |
153 | 155 | "\t\"type\": \"oauth2\",",
|
154 | 156 | "\t\"oauth2\": {",
|
155 | 157 | "\t\t\"metadataUrl\": \"https://login.microsoftonline.com/common/v2.0/.well-known/openid-configuration\",",
|
|
192 | 194 | "prefix": "devproxy-plugin-api-center-minimal-permissions-config",
|
193 | 195 | "body": [
|
194 | 196 | "\"apiCenterMinimalPermissionsPlugin\": {",
|
| 197 | + "\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/apicenterminimalpermissionsplugin.schema.json\",", |
195 | 198 | "\t\"subscriptionId\": \"cdae2297-7aa6-4195-bbb1-dcd89153cc72\",",
|
196 | 199 | "\t\"resourceGroupName\": \"resource-group-name\",",
|
197 | 200 | "\t\"serviceName\": \"apic-instance\",",
|
|
216 | 219 | "prefix": "devproxy-plugin-api-center-onboarding-config",
|
217 | 220 | "body": [
|
218 | 221 | "\"apiCenterOnboardingPlugin\": {",
|
| 222 | + "\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/apicenteronboardingplugin.schema.json\",", |
219 | 223 | "\t\"subscriptionId\": \"cdae2297-7aa6-4195-bbb1-dcd89153cc72\",",
|
220 | 224 | "\t\"resourceGroupName\": \"resource-group-name\",",
|
221 | 225 | "\t\"serviceName\": \"apic-instance\",",
|
|
241 | 245 | "prefix": "devproxy-plugin-api-center-production-version-config",
|
242 | 246 | "body": [
|
243 | 247 | "\"apiCenterProductionVersionPlugin\": {",
|
| 248 | + "\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/apicenterproductionversionplugin.schema.json\",", |
244 | 249 | "\t\"subscriptionId\": \"cdae2297-7aa6-4195-bbb1-dcd89153cc72\",",
|
245 | 250 | "\t\"resourceGroupName\": \"resource-group-name\",",
|
246 | 251 | "\t\"serviceName\": \"apic-instance\",",
|
|
264 | 269 | "prefix": "devproxy-plugin-caching-guidance-config",
|
265 | 270 | "body": [
|
266 | 271 | "\"cachingGuidance\": {",
|
| 272 | + "\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/cachingguidanceplugin.schema.json\",", |
267 | 273 | "\t\"cacheThresholdSeconds\": 5",
|
268 | 274 | "}"
|
269 | 275 | ],
|
|
285 | 291 | "prefix": "devproxy-plugin-crud-api-config",
|
286 | 292 | "body": [
|
287 | 293 | "\"customersApi\": {",
|
| 294 | + "\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/crudapiplugin.schema.json\",", |
288 | 295 | "\t\"apiFile\": \"customers-api.json\"",
|
289 | 296 | "}"
|
290 | 297 | ],
|
|
294 | 301 | "prefix": "devproxy-plugin-crud-api-file",
|
295 | 302 | "body": [
|
296 | 303 | "{",
|
297 |
| - "\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/crudapiplugin.schema.json\",", |
| 304 | + "\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/crudapiplugin.apifile.schema.json\",", |
298 | 305 | "\t\"actions\": [",
|
299 | 306 | "\t\t$1",
|
300 | 307 | "\t],",
|
|
307 | 314 | "CrudApiPluginFileSchema": {
|
308 | 315 | "prefix": "devproxy-plugin-crud-api-file-schema",
|
309 | 316 | "body": [
|
310 |
| - "\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/crudapiplugin.schema.json\"," |
| 317 | + "\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/crudapiplugin.apifile.schema.json\"," |
311 | 318 | ],
|
312 | 319 | "description": "CrudApiPlugin API file schema"
|
313 | 320 | },
|
|
338 | 345 | "prefix": "devproxy-plugin-dev-tools-config",
|
339 | 346 | "body": [
|
340 | 347 | "\"devTools\": {",
|
| 348 | + "\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/devtoolsplugin.schema.json\",", |
341 | 349 | "\t\"preferredBrowser\": \"Edge\"",
|
342 | 350 | "}"
|
343 | 351 | ],
|
|
359 | 367 | "prefix": "devproxy-plugin-entra-mock-response-config",
|
360 | 368 | "body": [
|
361 | 369 | "\"entraMockResponsePlugin\": {",
|
| 370 | + "\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/mockresponseplugin.schema.json\",", |
362 | 371 | "\t\"mocksFile\": \"mocks.json\"",
|
363 | 372 | "}"
|
364 | 373 | ],
|
|
379 | 388 | "prefix": "devproxy-plugin-execution-summary-config",
|
380 | 389 | "body": [
|
381 | 390 | "\"executionSummaryPlugin\": {",
|
| 391 | + "\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/executionsummaryplugin.schema.json\",", |
382 | 392 | "\t\"groupBy\": \"url\"",
|
383 | 393 | "}"
|
384 | 394 | ],
|
|
400 | 410 | "prefix": "devproxy-plugin-generic-random-error-config",
|
401 | 411 | "body": [
|
402 | 412 | "\"genericRandomErrorPlugin\": {",
|
403 |
| - "\t\"errorsFile\": \"errors.json\"", |
| 413 | + "\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/genericrandomerrorplugin.schema.json\",", |
| 414 | + "\t\"errorsFile\": \"errors.json\",", |
404 | 415 | "\t\"rate\": 50",
|
405 | 416 | "}"
|
406 | 417 | ],
|
|
410 | 421 | "prefix": "devproxy-plugin-generic-random-error-file",
|
411 | 422 | "body": [
|
412 | 423 | "{",
|
413 |
| - "\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/genericrandomerrorplugin.schema.json\",", |
| 424 | + "\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/genericrandomerrorplugin.errorsfile.schema.json\",", |
414 | 425 | "\t\"errors\": [",
|
415 | 426 | "\t\t$1",
|
416 | 427 | "\t]",
|
|
421 | 432 | "GenericRandomErrorPluginFileSchema": {
|
422 | 433 | "prefix": "devproxy-plugin-generic-random-error-file-schema",
|
423 | 434 | "body": [
|
424 |
| - "\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/genericrandomerrorplugin.schema.json\"," |
| 435 | + "\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/genericrandomerrorplugin.errorsfile.schema.json\"," |
425 | 436 | ],
|
426 | 437 | "description": "GenericRandomErrorPlugin errors file schema"
|
427 | 438 | },
|
|
478 | 489 | "prefix": "devproxy-plugin-graph-minimal-permissions-guidance-config",
|
479 | 490 | "body": [
|
480 | 491 | "\"graphMinimalPermissionsGuidancePlugin\": {",
|
| 492 | + "\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/graphminimalpermissionsguidanceplugin.schema.json\",", |
481 | 493 | "\t\"permissionsToIgnore\": [",
|
482 | 494 | "\t\t\"profile\",",
|
483 | 495 | "\t\t\"openid\",",
|
|
503 | 515 | "prefix": "devproxy-plugin-graph-minimal-permissions-config",
|
504 | 516 | "body": [
|
505 | 517 | "\"graphMinimalPermissionsPlugin\": {",
|
| 518 | + "\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/graphmininalpermissionsplugin.schema.json\",", |
506 | 519 | "\t\"type\": \"delegated\"",
|
507 | 520 | "}"
|
508 | 521 | ],
|
|
534 | 547 | "prefix": "devproxy-plugin-graph-mock-response-config",
|
535 | 548 | "body": [
|
536 | 549 | "\"graphMockResponsePlugin\": {",
|
| 550 | + "\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/mockresponseplugin.schema.json\",", |
537 | 551 | "\t\"mocksFile\": \"mocks.json\"",
|
538 | 552 | "}"
|
539 | 553 | ],
|
|
564 | 578 | "prefix": "devproxy-plugin-graph-random-error-config",
|
565 | 579 | "body": [
|
566 | 580 | "\"graphRandomErrorPlugin\": {",
|
| 581 | + "\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/graphrandomerrorplugin.schema.json\",", |
567 | 582 | "\t\"allowedErrors\": [ 429, 500, 502, 503, 504, 507 ]",
|
568 | 583 | "\t\"rate\": 50",
|
569 | 584 | "}"
|
|
627 | 642 | "prefix": "devproxy-plugin-http-file-generator-config",
|
628 | 643 | "body": [
|
629 | 644 | "\"httpFileGeneratorPlugin\": {",
|
| 645 | + "\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/httpfilegeneratorplugin.schema.json\",", |
630 | 646 | "\t\"includeOptionsRequests\": false",
|
631 | 647 | "}"
|
632 | 648 | ],
|
|
648 | 664 | "prefix": "devproxy-plugin-latency-config",
|
649 | 665 | "body": [
|
650 | 666 | "\"latencyPlugin\": {",
|
| 667 | + "\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/latencyplugin.schema.json\",", |
651 | 668 | "\t\"minMs\": 200,",
|
652 | 669 | "\t\"maxMs\": 10000",
|
653 | 670 | "}"
|
|
669 | 686 | "prefix": "devproxy-plugin-minimal-permissions-config",
|
670 | 687 | "body": [
|
671 | 688 | "\"minimalPermissionsPlugin\": {",
|
| 689 | + "\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/minimalpermissionsplugin.schema.json\",", |
672 | 690 | "\t\"apiSpecsFolderPath\": \"./api-specs\"",
|
673 | 691 | "}"
|
674 | 692 | ],
|
|
701 | 719 | "prefix": "devproxy-plugin-mock-request-config",
|
702 | 720 | "body": [
|
703 | 721 | "\"mockRequestPlugin\": {",
|
| 722 | + "\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/mockrequestplugin.schema.json\",", |
704 | 723 | "\t\"mockFile\": \"mock-request.json\"",
|
705 | 724 | "}"
|
706 | 725 | ],
|
|
722 | 741 | "prefix": "devproxy-plugin-mock-response-config",
|
723 | 742 | "body": [
|
724 | 743 | "\"mockResponsePlugin\": {",
|
| 744 | + "\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/mockresponseplugin.schema.json\",", |
725 | 745 | "\t\"mocksFile\": \"mocks.json\"",
|
726 | 746 | "}"
|
727 | 747 | ],
|
|
730 | 750 | "MockResponsePluginFileSchema": {
|
731 | 751 | "prefix": "devproxy-plugin-mock-response-schema",
|
732 | 752 | "body": [
|
733 |
| - "\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/mockresponseplugin.schema.json\"," |
| 753 | + "\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/mockresponseplugin.mocksfile.schema.json\"," |
734 | 754 | ],
|
735 | 755 | "description": "MockResponsePlugin schema"
|
736 | 756 | },
|
|
792 | 812 | "prefix": "devproxy-plugin-open-api-spec-generator-config",
|
793 | 813 | "body": [
|
794 | 814 | "\"openApiSpecGeneratorPlugin\": {",
|
| 815 | + "\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/openapispecgeneratorplugin.schema.json\",", |
795 | 816 | "\t\"includeOptionsRequests\": false,",
|
796 | 817 | "\t\"specVersion\": \"v3_0\",",
|
797 | 818 | "\t\"specFormat\": \"Json\"",
|
|
814 | 835 | "prefix": "devproxy-plugin-rate-limiting-config",
|
815 | 836 | "body": [
|
816 | 837 | "\"rateLimiting\": {",
|
| 838 | + "\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/ratelimitingplugin.schema.json\",", |
817 | 839 | "\t\"costPerRequest\": 2,",
|
818 | 840 | "\t\"rateLimit\": 120,",
|
819 | 841 | "\t\"retryAfterSeconds\": 5",
|
|
825 | 847 | "prefix": "devproxy-plugin-rate-limiting-file",
|
826 | 848 | "body": [
|
827 | 849 | "{",
|
828 |
| - "\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/ratelimitingplugin.schema.json\",", |
| 850 | + "\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/ratelimitingplugin.customresponsefile.schema.json\",", |
829 | 851 | "\t\"body\": {",
|
830 | 852 | "\t\t$1",
|
831 | 853 | "\t},",
|
|
840 | 862 | "RateLimitingFileSchema": {
|
841 | 863 | "prefix": "devproxy-plugin-rate-limiting-file-schema",
|
842 | 864 | "body": [
|
843 |
| - "\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/ratelimitingplugin.schema.json\"," |
| 865 | + "\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/ratelimitingplugin.customresponsefile.schema.json\"," |
844 | 866 | ],
|
845 | 867 | "description": "Dev Proxy rate limiting file schema"
|
846 | 868 | },
|
|
871 | 893 | "prefix": "devproxy-plugin-rewrite-config",
|
872 | 894 | "body": [
|
873 | 895 | "\"rewritePlugin\": {",
|
| 896 | + "\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/rewriteplugin.schema.json\",", |
874 | 897 | "\t\"rewritesFile\": \"rewrites.json\"",
|
875 | 898 | "}"
|
876 | 899 | ],
|
|
0 commit comments