Skip to content

Commit e7d4196

Browse files
authored
Update snippets to use v0.22.0 schema. Closes #138 (#142)
1 parent 19cdc00 commit e7d4196

File tree

4 files changed

+20
-28
lines changed

4 files changed

+20
-28
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.11.0] - Unreleased
9+
10+
### Changed:
11+
12+
- Snippets: All snippets that reference schemas updated to use `v0.22.0` schema
13+
814
## [0.10.0] - 2024-10-01
915

1016
### Added:

package-lock.json

Lines changed: 2 additions & 16 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.10.0",
5+
"version": "0.11.0",
66
"publisher": "garrytrinder",
77
"engines": {
88
"vscode": "^1.85.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/microsoft/dev-proxy/main/schemas/v0.20.1/rc.schema.json\",",
6+
"\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.22.0/rc.schema.json\",",
77
"\t\"plugins\": [",
88
"\t\t$1",
99
"\t],",
@@ -17,7 +17,7 @@
1717
"ConfigFileSchema": {
1818
"prefix": "devproxy-config-file-schema",
1919
"body": [
20-
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.20.1/rc.schema.json\","
20+
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.22.0/rc.schema.json\","
2121
],
2222
"description": "Dev Proxy config file schema"
2323
},
@@ -39,7 +39,7 @@
3939
"prefix": "devproxy-mocks-file",
4040
"body": [
4141
"{",
42-
"\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.20.1/mockresponseplugin.schema.json\",",
42+
"\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.22.0/mockresponseplugin.schema.json\",",
4343
"\t\"mocks\": [",
4444
"\t\t$1",
4545
"\t]",
@@ -50,7 +50,7 @@
5050
"MocksFileSchema": {
5151
"prefix": "devproxy-mocks-file-schema",
5252
"body": [
53-
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.20.1/mockresponseplugin.schema.json\","
53+
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.22.0/mockresponseplugin.schema.json\","
5454
],
5555
"description": "Dev Proxy mocks file schema"
5656
},
@@ -292,7 +292,7 @@
292292
"prefix": "devproxy-plugin-crud-api-file",
293293
"body": [
294294
"{",
295-
"\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.20.1/crudapiplugin.schema.json\",",
295+
"\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.22.0/crudapiplugin.schema.json\",",
296296
"\t\"actions\": [",
297297
"\t\t$1",
298298
"\t],",
@@ -305,7 +305,7 @@
305305
"CrudApiPluginFileSchema": {
306306
"prefix": "devproxy-plugin-crud-api-file-schema",
307307
"body": [
308-
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.20.1/crudapiplugin.schema.json\","
308+
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.22.0/crudapiplugin.schema.json\","
309309
],
310310
"description": "CrudApiPlugin API file schema"
311311
},
@@ -409,7 +409,7 @@
409409
"prefix": "devproxy-plugin-generic-random-error-file",
410410
"body": [
411411
"{",
412-
"\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.20.1/genericrandomerrorplugin.schema.json\",",
412+
"\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.22.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/microsoft/dev-proxy/main/schemas/v0.20.1/genericrandomerrorplugin.schema.json\","
423+
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.22.0/genericrandomerrorplugin.schema.json\","
424424
],
425425
"description": "GenericRandomErrorPlugin errors file schema"
426426
},
@@ -701,7 +701,7 @@
701701
"MockResponsePluginFileSchema": {
702702
"prefix": "devproxy-plugin-mock-response-schema",
703703
"body": [
704-
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.20.1/mockresponseplugin.schema.json\","
704+
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.22.0/mockresponseplugin.schema.json\","
705705
],
706706
"description": "MockResponsePlugin schema"
707707
},
@@ -786,7 +786,7 @@
786786
"prefix": "devproxy-plugin-rate-limiting-file",
787787
"body": [
788788
"{",
789-
"\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.20.1/ratelimitingplugin.schema.json\",",
789+
"\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.22.0/ratelimitingplugin.schema.json\",",
790790
"\t\"body\": {",
791791
"\t\t$1",
792792
"\t},",
@@ -801,7 +801,7 @@
801801
"RateLimitingFileSchema": {
802802
"prefix": "devproxy-plugin-rate-limiting-file-schema",
803803
"body": [
804-
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.20.1/ratelimitingplugin.schema.json\","
804+
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.22.0/ratelimitingplugin.schema.json\","
805805
],
806806
"description": "Dev Proxy rate limiting file schema"
807807
},

0 commit comments

Comments
 (0)