Skip to content

Commit cd83946

Browse files
authored
Update snippet schemas to v0.25.0 (#191)
1 parent 0a80449 commit cd83946

File tree

4 files changed

+15
-14
lines changed

4 files changed

+15
-14
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1212
### Changed:
1313

1414
- Snippets: Updated schema urls to reflect the move to dotnet organisation in Github
15+
- Snippets: All snippets that reference schemas updated to use `v0.25.0` schema
1516
- Code action: Updated update schema code action to reflect the move to dotnet organisation in Github
1617

1718
### Fixed:

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "dev-proxy-toolkit",
33
"displayName": "Dev Proxy Toolkit",
44
"description": "Makes it easy to create and update Dev Proxy configuration files.",
5-
"version": "0.17.0",
5+
"version": "0.17.1",
66
"publisher": "garrytrinder",
77
"engines": {
88
"vscode": "^1.89.0"

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/dotnet/dev-proxy/main/schemas/v0.24.0/rc.schema.json\",",
6+
"\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.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/dotnet/dev-proxy/main/schemas/v0.24.0/rc.schema.json\","
23+
"\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.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/dotnet/dev-proxy/main/schemas/v0.24.0/mockresponseplugin.schema.json\",",
45+
"\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.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/dotnet/dev-proxy/main/schemas/v0.24.0/mockresponseplugin.schema.json\","
56+
"\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/mockresponseplugin.schema.json\","
5757
],
5858
"description": "Dev Proxy mocks file schema"
5959
},
@@ -294,7 +294,7 @@
294294
"prefix": "devproxy-plugin-crud-api-file",
295295
"body": [
296296
"{",
297-
"\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.24.0/crudapiplugin.schema.json\",",
297+
"\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/crudapiplugin.schema.json\",",
298298
"\t\"actions\": [",
299299
"\t\t$1",
300300
"\t],",
@@ -307,7 +307,7 @@
307307
"CrudApiPluginFileSchema": {
308308
"prefix": "devproxy-plugin-crud-api-file-schema",
309309
"body": [
310-
"\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.24.0/crudapiplugin.schema.json\","
310+
"\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/crudapiplugin.schema.json\","
311311
],
312312
"description": "CrudApiPlugin API file schema"
313313
},
@@ -409,7 +409,7 @@
409409
"prefix": "devproxy-plugin-generic-random-error-file",
410410
"body": [
411411
"{",
412-
"\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.24.0/genericrandomerrorplugin.schema.json\",",
412+
"\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/genericrandomerrorplugin.schema.json\",",
413413
"\t\"errors\": [",
414414
"\t\t$1",
415415
"\t]",
@@ -420,7 +420,7 @@
420420
"GenericRandomErrorPluginFileSchema": {
421421
"prefix": "devproxy-plugin-generic-random-error-file-schema",
422422
"body": [
423-
"\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.24.0/genericrandomerrorplugin.schema.json\","
423+
"\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/genericrandomerrorplugin.schema.json\","
424424
],
425425
"description": "GenericRandomErrorPlugin errors file schema"
426426
},
@@ -728,7 +728,7 @@
728728
"MockResponsePluginFileSchema": {
729729
"prefix": "devproxy-plugin-mock-response-schema",
730730
"body": [
731-
"\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.24.0/mockresponseplugin.schema.json\","
731+
"\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/mockresponseplugin.schema.json\","
732732
],
733733
"description": "MockResponsePlugin schema"
734734
},
@@ -823,7 +823,7 @@
823823
"prefix": "devproxy-plugin-rate-limiting-file",
824824
"body": [
825825
"{",
826-
"\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.24.0/ratelimitingplugin.schema.json\",",
826+
"\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/ratelimitingplugin.schema.json\",",
827827
"\t\"body\": {",
828828
"\t\t$1",
829829
"\t},",
@@ -838,7 +838,7 @@
838838
"RateLimitingFileSchema": {
839839
"prefix": "devproxy-plugin-rate-limiting-file-schema",
840840
"body": [
841-
"\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.24.0/ratelimitingplugin.schema.json\","
841+
"\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/ratelimitingplugin.schema.json\","
842842
],
843843
"description": "Dev Proxy rate limiting file schema"
844844
},

0 commit comments

Comments
 (0)