From 2e7ac50afb0165410e5d54767c349e026611bb1c Mon Sep 17 00:00:00 2001 From: Garry Trinder Date: Fri, 6 Dec 2024 16:06:11 +0000 Subject: [PATCH] Update snippet schemas to v0.24.0. Closes #158 --- CHANGELOG.md | 1 + src/snippets.json | 22 +++++++++++----------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 339bb98..c4237b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed: - Snippets: `devproxy-plugin-open-api-spec-generator` - OpenApiSpecGeneratorPlugin config section +- Snippets: All snippets that reference schemas updated to use `v0.24.0` schema ## [0.14.0] - 2024-11-27 diff --git a/src/snippets.json b/src/snippets.json index decf569..9081e1d 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.23.0/rc.schema.json\",", + "\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.24.0/rc.schema.json\",", "\t\"plugins\": [", "\t\t$1", "\t],", @@ -20,7 +20,7 @@ "ConfigFileSchema": { "prefix": "devproxy-config-file-schema", "body": [ - "\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.23.0/rc.schema.json\"," + "\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.24.0/rc.schema.json\"," ], "description": "Dev Proxy config file schema" }, @@ -42,7 +42,7 @@ "prefix": "devproxy-mocks-file", "body": [ "{", - "\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.23.0/mockresponseplugin.schema.json\",", + "\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.24.0/mockresponseplugin.schema.json\",", "\t\"mocks\": [", "\t\t$1", "\t]", @@ -53,7 +53,7 @@ "MocksFileSchema": { "prefix": "devproxy-mocks-file-schema", "body": [ - "\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.23.0/mockresponseplugin.schema.json\"," + "\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.24.0/mockresponseplugin.schema.json\"," ], "description": "Dev Proxy mocks file schema" }, @@ -295,7 +295,7 @@ "prefix": "devproxy-plugin-crud-api-file", "body": [ "{", - "\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.23.0/crudapiplugin.schema.json\",", + "\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.24.0/crudapiplugin.schema.json\",", "\t\"actions\": [", "\t\t$1", "\t],", @@ -308,7 +308,7 @@ "CrudApiPluginFileSchema": { "prefix": "devproxy-plugin-crud-api-file-schema", "body": [ - "\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.23.0/crudapiplugin.schema.json\"," + "\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.24.0/crudapiplugin.schema.json\"," ], "description": "CrudApiPlugin API file schema" }, @@ -412,7 +412,7 @@ "prefix": "devproxy-plugin-generic-random-error-file", "body": [ "{", - "\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.23.0/genericrandomerrorplugin.schema.json\",", + "\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.24.0/genericrandomerrorplugin.schema.json\",", "\t\"errors\": [", "\t\t$1", "\t]", @@ -423,7 +423,7 @@ "GenericRandomErrorPluginFileSchema": { "prefix": "devproxy-plugin-generic-random-error-file-schema", "body": [ - "\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.23.0/genericrandomerrorplugin.schema.json\"," + "\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.24.0/genericrandomerrorplugin.schema.json\"," ], "description": "GenericRandomErrorPlugin errors file schema" }, @@ -733,7 +733,7 @@ "MockResponsePluginFileSchema": { "prefix": "devproxy-plugin-mock-response-schema", "body": [ - "\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.23.0/mockresponseplugin.schema.json\"," + "\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.24.0/mockresponseplugin.schema.json\"," ], "description": "MockResponsePlugin schema" }, @@ -828,7 +828,7 @@ "prefix": "devproxy-plugin-rate-limiting-file", "body": [ "{", - "\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.23.0/ratelimitingplugin.schema.json\",", + "\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.24.0/ratelimitingplugin.schema.json\",", "\t\"body\": {", "\t\t$1", "\t},", @@ -843,7 +843,7 @@ "RateLimitingFileSchema": { "prefix": "devproxy-plugin-rate-limiting-file-schema", "body": [ - "\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.23.0/ratelimitingplugin.schema.json\"," + "\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.24.0/ratelimitingplugin.schema.json\"," ], "description": "Dev Proxy rate limiting file schema" },