Skip to content

Commit

Permalink
Update snippets to use v0.20.0 schemas. Closes #110
Browse files Browse the repository at this point in the history
Closes #110
  • Loading branch information
garrytrinder committed Aug 27, 2024
1 parent 55f8391 commit ce901b1
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 12 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.7.0] - 2024-08-28

### Changed:

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

## [0.6.0] - 2024-07-11

### Changed:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The Dev Proxy Toolkit extension for Visual Studio Code makes it easy to create a

> **IMPORTANT**
>
> Dev Proxy Toolkit is designed to be used with the latest version of Dev Proxy, v0.19.1. If you are using an earlier build some features may not work as intended.
> Dev Proxy Toolkit is designed to be used with the latest version of Dev Proxy, 0.20.0. If you are using an earlier build some features may not work as intended.
>
## Features
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.19.1/rc.schema.json\",",
"\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/0.20.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.19.1/rc.schema.json\","
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/0.20.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.19.1/mockresponseplugin.schema.json\",",
"\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/0.20.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.19.1/mockresponseplugin.schema.json\","
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/0.20.0/mockresponseplugin.schema.json\","
],
"description": "Dev Proxy mocks file schema"
},
Expand Down Expand Up @@ -212,7 +212,7 @@
"prefix": "devproxy-plugin-crud-api-file",
"body": [
"{",
"\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.19.1/crudapiplugin.schema.json\",",
"\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/0.20.0/crudapiplugin.schema.json\",",
"\t\"actions\": [",
"\t\t$1",
"\t],",
Expand All @@ -225,7 +225,7 @@
"CrudApiPluginFileSchema": {
"prefix": "devproxy-plugin-crud-api-file-schema",
"body": [
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.19.1/crudapiplugin.schema.json\","
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/0.20.0/crudapiplugin.schema.json\","
],
"description": "CrudApiPlugin API file schema"
},
Expand Down Expand Up @@ -329,7 +329,7 @@
"prefix": "devproxy-plugin-generic-random-error-file",
"body": [
"{",
"\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.19.1/genericrandomerrorplugin.schema.json\",",
"\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/0.20.0/genericrandomerrorplugin.schema.json\",",
"\t\"responses\": [",
"\t\t$1",
"\t]",
Expand All @@ -340,7 +340,7 @@
"GenericRandomErrorPluginFileSchema": {
"prefix": "devproxy-plugin-generic-random-error-file-schema",
"body": [
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.19.1/genericrandomerrorplugin.schema.json\","
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/0.20.0/genericrandomerrorplugin.schema.json\","
],
"description": "GenericRandomErrorPlugin errors file schema"
},
Expand Down Expand Up @@ -607,7 +607,7 @@
"MockResponsePluginFileSchema": {
"prefix": "devproxy-plugin-mock-response-schema",
"body": [
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.19.1/mockresponseplugin.schema.json\","
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/0.20.0/mockresponseplugin.schema.json\","
],
"description": "MockResponsePlugin schema"
},
Expand Down Expand Up @@ -692,7 +692,7 @@
"prefix": "devproxy-plugin-rate-limiting-file",
"body": [
"{",
"\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.19.1/ratelimitingplugin.schema.json\",",
"\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/0.20.0/ratelimitingplugin.schema.json\",",
"\t\"body\": {",
"\t\t$1",
"\t},",
Expand All @@ -707,7 +707,7 @@
"RateLimitingFileSchema": {
"prefix": "devproxy-plugin-rate-limiting-file-schema",
"body": [
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.19.1/ratelimitingplugin.schema.json\","
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/0.20.0/ratelimitingplugin.schema.json\","
],
"description": "Dev Proxy rate limiting file schema"
},
Expand Down

0 comments on commit ce901b1

Please sign in to comment.