Skip to content

Commit

Permalink
Update snippet schemas to v0.18.0. Closes #87
Browse files Browse the repository at this point in the history
Closes #87
  • Loading branch information
garrytrinder committed May 28, 2024
1 parent b991bd4 commit 9cff8c3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed:

- Notification: Support for installing Dev Proxy via package manager when not installed
- Snippets: All snippets that reference schemas updated to use `v0.18.0` schema

## [0.3.1] - 2024-05-22

Expand Down
22 changes: 11 additions & 11 deletions src/snippets.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"prefix": "devproxy-config-file",
"body": [
"{",
"\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.17.1/rc.schema.json\",",
"\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.18.0/rc.schema.json\",",
"\t\"plugins\": [",
"\t\t$1",
"\t],",
Expand All @@ -17,15 +17,15 @@
"ConfigFileSchema": {
"prefix": "devproxy-config-file-schema",
"body": [
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.17.1/rc.schema.json\","
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.18.0/rc.schema.json\","
],
"description": "Dev Proxy config file schema"
},
"MocksFile": {
"prefix": "devproxy-mocks-file",
"body": [
"{",
"\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.17.1/mockresponseplugin.schema.json\",",
"\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.18.0/mockresponseplugin.schema.json\",",
"\t\"mocks\": [",
"\t\t$1",
"\t]",
Expand All @@ -36,7 +36,7 @@
"MocksFileSchema": {
"prefix": "devproxy-mocks-file-schema",
"body": [
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.17.1/mockresponseplugin.schema.json\","
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.18.0/mockresponseplugin.schema.json\","
],
"description": "Dev Proxy mocks file schema"
},
Expand Down Expand Up @@ -188,7 +188,7 @@
"prefix": "devproxy-plugin-crud-api-file",
"body": [
"{",
"\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.17.1/crudapiplugin.schema.json\",",
"\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.18.0/crudapiplugin.schema.json\",",
"\t\"actions\": [",
"\t\t$1",
"\t],",
Expand All @@ -201,7 +201,7 @@
"CrudApiPluginFileSchema": {
"prefix": "devproxy-plugin-crud-api-file-schema",
"body": [
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.17.1/crudapiplugin.schema.json\","
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.18.0/crudapiplugin.schema.json\","
],
"description": "CrudApiPlugin API file schema"
},
Expand Down Expand Up @@ -305,7 +305,7 @@
"prefix": "devproxy-plugin-generic-random-error-file",
"body": [
"{",
"\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.17.1/genericrandomerrorplugin.schema.json\",",
"\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.18.0/genericrandomerrorplugin.schema.json\",",
"\t\"responses\": [",
"\t\t$1",
"\t]",
Expand All @@ -316,7 +316,7 @@
"GenericRandomErrorPluginFileSchema": {
"prefix": "devproxy-plugin-generic-random-error-file-schema",
"body": [
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.17.1/genericrandomerrorplugin.schema.json\","
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.18.0/genericrandomerrorplugin.schema.json\","
],
"description": "GenericRandomErrorPlugin errors file schema"
},
Expand Down Expand Up @@ -573,7 +573,7 @@
"MockResponsePluginFileSchema": {
"prefix": "devproxy-plugin-mock-response-schema",
"body": [
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.17.1/mockresponseplugin.schema.json\","
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.18.0/mockresponseplugin.schema.json\","
],
"description": "MockResponsePlugin schema"
},
Expand Down Expand Up @@ -647,7 +647,7 @@
"prefix": "devproxy-plugin-rate-limiting-file",
"body": [
"{",
"\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.17.1/ratelimitingplugin.schema.json\",",
"\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.18.0/ratelimitingplugin.schema.json\",",
"\t\"body\": {",
"\t\t$1",
"\t},",
Expand All @@ -662,7 +662,7 @@
"RateLimitingFileSchema": {
"prefix": "devproxy-plugin-rate-limiting-file-schema",
"body": [
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.17.1/ratelimitingplugin.schema.json\","
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.18.0/ratelimitingplugin.schema.json\","
],
"description": "Dev Proxy rate limiting file schema"
},
Expand Down

0 comments on commit 9cff8c3

Please sign in to comment.