Skip to content

Commit

Permalink
Update snippets to use v0.22.0 schema. Closes #138 (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
garrytrinder authored Oct 28, 2024
1 parent 19cdc00 commit e7d4196
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 28 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.11.0] - Unreleased

### Changed:

- Snippets: All snippets that reference schemas updated to use `v0.22.0` schema

## [0.10.0] - 2024-10-01

### Added:
Expand Down
18 changes: 2 additions & 16 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "dev-proxy-toolkit",
"displayName": "Dev Proxy Toolkit",
"description": "Makes it easy to create and update Dev Proxy configuration files.",
"version": "0.10.0",
"version": "0.11.0",
"publisher": "garrytrinder",
"engines": {
"vscode": "^1.85.0"
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.20.1/rc.schema.json\",",
"\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.22.0/rc.schema.json\",",
"\t\"plugins\": [",
"\t\t$1",
"\t],",
Expand All @@ -17,7 +17,7 @@
"ConfigFileSchema": {
"prefix": "devproxy-config-file-schema",
"body": [
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.20.1/rc.schema.json\","
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.22.0/rc.schema.json\","
],
"description": "Dev Proxy config file schema"
},
Expand All @@ -39,7 +39,7 @@
"prefix": "devproxy-mocks-file",
"body": [
"{",
"\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.20.1/mockresponseplugin.schema.json\",",
"\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.22.0/mockresponseplugin.schema.json\",",
"\t\"mocks\": [",
"\t\t$1",
"\t]",
Expand All @@ -50,7 +50,7 @@
"MocksFileSchema": {
"prefix": "devproxy-mocks-file-schema",
"body": [
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.20.1/mockresponseplugin.schema.json\","
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.22.0/mockresponseplugin.schema.json\","
],
"description": "Dev Proxy mocks file schema"
},
Expand Down Expand Up @@ -292,7 +292,7 @@
"prefix": "devproxy-plugin-crud-api-file",
"body": [
"{",
"\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.20.1/crudapiplugin.schema.json\",",
"\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.22.0/crudapiplugin.schema.json\",",
"\t\"actions\": [",
"\t\t$1",
"\t],",
Expand All @@ -305,7 +305,7 @@
"CrudApiPluginFileSchema": {
"prefix": "devproxy-plugin-crud-api-file-schema",
"body": [
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.20.1/crudapiplugin.schema.json\","
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.22.0/crudapiplugin.schema.json\","
],
"description": "CrudApiPlugin API file schema"
},
Expand Down Expand Up @@ -409,7 +409,7 @@
"prefix": "devproxy-plugin-generic-random-error-file",
"body": [
"{",
"\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.20.1/genericrandomerrorplugin.schema.json\",",
"\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.22.0/genericrandomerrorplugin.schema.json\",",
"\t\"errors\": [",
"\t\t$1",
"\t]",
Expand All @@ -420,7 +420,7 @@
"GenericRandomErrorPluginFileSchema": {
"prefix": "devproxy-plugin-generic-random-error-file-schema",
"body": [
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.20.1/genericrandomerrorplugin.schema.json\","
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.22.0/genericrandomerrorplugin.schema.json\","
],
"description": "GenericRandomErrorPlugin errors file schema"
},
Expand Down Expand Up @@ -701,7 +701,7 @@
"MockResponsePluginFileSchema": {
"prefix": "devproxy-plugin-mock-response-schema",
"body": [
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.20.1/mockresponseplugin.schema.json\","
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.22.0/mockresponseplugin.schema.json\","
],
"description": "MockResponsePlugin schema"
},
Expand Down Expand Up @@ -786,7 +786,7 @@
"prefix": "devproxy-plugin-rate-limiting-file",
"body": [
"{",
"\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.20.1/ratelimitingplugin.schema.json\",",
"\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.22.0/ratelimitingplugin.schema.json\",",
"\t\"body\": {",
"\t\t$1",
"\t},",
Expand All @@ -801,7 +801,7 @@
"RateLimitingFileSchema": {
"prefix": "devproxy-plugin-rate-limiting-file-schema",
"body": [
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.20.1/ratelimitingplugin.schema.json\","
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.22.0/ratelimitingplugin.schema.json\","
],
"description": "Dev Proxy rate limiting file schema"
},
Expand Down

0 comments on commit e7d4196

Please sign in to comment.