Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update snippet schemas to v0.25.0 #191

Merged
merged 2 commits into from
Feb 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed:

- Snippets: Updated schema urls to reflect the move to dotnet organisation in Github
- Snippets: All snippets that reference schemas updated to use `v0.25.0` schema
- Code action: Updated update schema code action to reflect the move to dotnet organisation in Github

### Fixed:
Expand Down
4 changes: 2 additions & 2 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.17.0",
"version": "0.17.1",
"publisher": "garrytrinder",
"engines": {
"vscode": "^1.89.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/dotnet/dev-proxy/main/schemas/v0.24.0/rc.schema.json\",",
"\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/rc.schema.json\",",
"\t\"plugins\": [",
"\t\t$1",
"\t],",
Expand All @@ -20,7 +20,7 @@
"ConfigFileSchema": {
"prefix": "devproxy-config-file-schema",
"body": [
"\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.24.0/rc.schema.json\","
"\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/rc.schema.json\","
],
"description": "Dev Proxy config file schema"
},
Expand All @@ -42,7 +42,7 @@
"prefix": "devproxy-mocks-file",
"body": [
"{",
"\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.24.0/mockresponseplugin.schema.json\",",
"\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/mockresponseplugin.schema.json\",",
"\t\"mocks\": [",
"\t\t$1",
"\t]",
Expand All @@ -53,7 +53,7 @@
"MocksFileSchema": {
"prefix": "devproxy-mocks-file-schema",
"body": [
"\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.24.0/mockresponseplugin.schema.json\","
"\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/mockresponseplugin.schema.json\","
],
"description": "Dev Proxy mocks file schema"
},
Expand Down Expand Up @@ -294,7 +294,7 @@
"prefix": "devproxy-plugin-crud-api-file",
"body": [
"{",
"\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.24.0/crudapiplugin.schema.json\",",
"\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/crudapiplugin.schema.json\",",
"\t\"actions\": [",
"\t\t$1",
"\t],",
Expand All @@ -307,7 +307,7 @@
"CrudApiPluginFileSchema": {
"prefix": "devproxy-plugin-crud-api-file-schema",
"body": [
"\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.24.0/crudapiplugin.schema.json\","
"\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.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/dotnet/dev-proxy/main/schemas/v0.24.0/genericrandomerrorplugin.schema.json\",",
"\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.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/dotnet/dev-proxy/main/schemas/v0.24.0/genericrandomerrorplugin.schema.json\","
"\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/genericrandomerrorplugin.schema.json\","
],
"description": "GenericRandomErrorPlugin errors file schema"
},
Expand Down Expand Up @@ -728,7 +728,7 @@
"MockResponsePluginFileSchema": {
"prefix": "devproxy-plugin-mock-response-schema",
"body": [
"\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.24.0/mockresponseplugin.schema.json\","
"\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/mockresponseplugin.schema.json\","
],
"description": "MockResponsePlugin schema"
},
Expand Down Expand Up @@ -823,7 +823,7 @@
"prefix": "devproxy-plugin-rate-limiting-file",
"body": [
"{",
"\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.24.0/ratelimitingplugin.schema.json\",",
"\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/ratelimitingplugin.schema.json\",",
"\t\"body\": {",
"\t\t$1",
"\t},",
Expand All @@ -838,7 +838,7 @@
"RateLimitingFileSchema": {
"prefix": "devproxy-plugin-rate-limiting-file-schema",
"body": [
"\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.24.0/ratelimitingplugin.schema.json\","
"\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/ratelimitingplugin.schema.json\","
],
"description": "Dev Proxy rate limiting file schema"
},
Expand Down