Skip to content

Commit 6325464

Browse files
committed
Update snippets to use v0.23.0 schema. Closes #152
1 parent c8a05fc commit 6325464

File tree

2 files changed

+15
-11
lines changed

2 files changed

+15
-11
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1212
- Snippets: `devproxy-plugin-rewrite` - RewritePlugin instance
1313
- Snippets: `devproxy-plugin-rewrite-config` - RewritePlugin config section
1414

15+
### Changed:
16+
17+
- Snippets: All snippets that reference schemas updated to use `v0.23.0` schema
18+
1519
## [0.12.0] - 2024-10-31
1620

1721
> **Note**: `0.11.x` pre-releases are not included in this changelog. They were used to test the new features and fixes before the final release.

src/snippets.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"prefix": "devproxy-config-file",
44
"body": [
55
"{",
6-
"\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.22.0/rc.schema.json\",",
6+
"\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.23.0/rc.schema.json\",",
77
"\t\"plugins\": [",
88
"\t\t$1",
99
"\t],",
@@ -20,7 +20,7 @@
2020
"ConfigFileSchema": {
2121
"prefix": "devproxy-config-file-schema",
2222
"body": [
23-
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.22.0/rc.schema.json\","
23+
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.23.0/rc.schema.json\","
2424
],
2525
"description": "Dev Proxy config file schema"
2626
},
@@ -42,7 +42,7 @@
4242
"prefix": "devproxy-mocks-file",
4343
"body": [
4444
"{",
45-
"\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.22.0/mockresponseplugin.schema.json\",",
45+
"\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.23.0/mockresponseplugin.schema.json\",",
4646
"\t\"mocks\": [",
4747
"\t\t$1",
4848
"\t]",
@@ -53,7 +53,7 @@
5353
"MocksFileSchema": {
5454
"prefix": "devproxy-mocks-file-schema",
5555
"body": [
56-
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.22.0/mockresponseplugin.schema.json\","
56+
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.23.0/mockresponseplugin.schema.json\","
5757
],
5858
"description": "Dev Proxy mocks file schema"
5959
},
@@ -295,7 +295,7 @@
295295
"prefix": "devproxy-plugin-crud-api-file",
296296
"body": [
297297
"{",
298-
"\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.22.0/crudapiplugin.schema.json\",",
298+
"\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.23.0/crudapiplugin.schema.json\",",
299299
"\t\"actions\": [",
300300
"\t\t$1",
301301
"\t],",
@@ -308,7 +308,7 @@
308308
"CrudApiPluginFileSchema": {
309309
"prefix": "devproxy-plugin-crud-api-file-schema",
310310
"body": [
311-
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.22.0/crudapiplugin.schema.json\","
311+
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.23.0/crudapiplugin.schema.json\","
312312
],
313313
"description": "CrudApiPlugin API file schema"
314314
},
@@ -412,7 +412,7 @@
412412
"prefix": "devproxy-plugin-generic-random-error-file",
413413
"body": [
414414
"{",
415-
"\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.22.0/genericrandomerrorplugin.schema.json\",",
415+
"\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.23.0/genericrandomerrorplugin.schema.json\",",
416416
"\t\"errors\": [",
417417
"\t\t$1",
418418
"\t]",
@@ -423,7 +423,7 @@
423423
"GenericRandomErrorPluginFileSchema": {
424424
"prefix": "devproxy-plugin-generic-random-error-file-schema",
425425
"body": [
426-
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.22.0/genericrandomerrorplugin.schema.json\","
426+
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.23.0/genericrandomerrorplugin.schema.json\","
427427
],
428428
"description": "GenericRandomErrorPlugin errors file schema"
429429
},
@@ -733,7 +733,7 @@
733733
"MockResponsePluginFileSchema": {
734734
"prefix": "devproxy-plugin-mock-response-schema",
735735
"body": [
736-
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.22.0/mockresponseplugin.schema.json\","
736+
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.23.0/mockresponseplugin.schema.json\","
737737
],
738738
"description": "MockResponsePlugin schema"
739739
},
@@ -818,7 +818,7 @@
818818
"prefix": "devproxy-plugin-rate-limiting-file",
819819
"body": [
820820
"{",
821-
"\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.22.0/ratelimitingplugin.schema.json\",",
821+
"\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.23.0/ratelimitingplugin.schema.json\",",
822822
"\t\"body\": {",
823823
"\t\t$1",
824824
"\t},",
@@ -833,7 +833,7 @@
833833
"RateLimitingFileSchema": {
834834
"prefix": "devproxy-plugin-rate-limiting-file-schema",
835835
"body": [
836-
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.22.0/ratelimitingplugin.schema.json\","
836+
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.23.0/ratelimitingplugin.schema.json\","
837837
],
838838
"description": "Dev Proxy rate limiting file schema"
839839
},

0 commit comments

Comments
 (0)