From 9cff8c3b4da1799f42cf2df004efb746886177f8 Mon Sep 17 00:00:00 2001 From: Garry Trinder Date: Tue, 28 May 2024 15:13:38 +0100 Subject: [PATCH] Update snippet schemas to v0.18.0. Closes #87 Closes #87 --- CHANGELOG.md | 1 + src/snippets.json | 22 +++++++++++----------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ce09663..fce2833 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/src/snippets.json b/src/snippets.json index cf46778..d87998e 100644 --- a/src/snippets.json +++ b/src/snippets.json @@ -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],", @@ -17,7 +17,7 @@ "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" }, @@ -25,7 +25,7 @@ "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]", @@ -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" }, @@ -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],", @@ -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" }, @@ -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]", @@ -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" }, @@ -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" }, @@ -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},", @@ -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" },