File tree Expand file tree Collapse file tree 3 files changed +43
-1
lines changed Expand file tree Collapse file tree 3 files changed +43
-1
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
10
10
## [ 0.17.2] - Unreleased
11
11
12
+ ### Added:
13
+
14
+ - Snippets: ` devproxy-rewrite ` - Dev Proxy rewrite
15
+ - Snippets: ` devproxy-plugin-rewrite-file ` - RewritePlugin rewrites file
16
+ - Snippets: ` devproxy-plugin-rewrite-file-schema ` - RewritePlugin rewrites file schema
17
+
12
18
### Changed:
13
19
14
20
- Snippets: Updated schema urls to reflect the move to dotnet organisation in Github
Original file line number Diff line number Diff line change @@ -75,6 +75,7 @@ Shown when the active document is a Dev Proxy configuration file
75
75
| ` devproxy-request ` | Dev Proxy request |
76
76
| ` devproxy-response ` | Dev Proxy response |
77
77
| ` devproxy-response-header ` | Dev Proxy response header |
78
+ | ` devproxy-rewrite ` | Dev Proxy rewrite |
78
79
| ` devproxy-plugin-auth ` | AuthPlugin instance |
79
80
| ` devproxy-plugin-auth-config-apikey ` | AuthPlugin API Key config section |
80
81
| ` devproxy-plugin-auth-config-oauth2 ` | AuthPlugin OAuth2 config section |
@@ -136,6 +137,8 @@ Shown when the active document is a Dev Proxy configuration file
136
137
| ` devproxy-plugin-rate-limiting-file-schema ` | Dev Proxy rate limiting file schema |
137
138
| ` devproxy-plugin-retry-after ` | RetryAfterPlugin instance |
138
139
| ` devproxy-plugin-rewrite ` | RewritePlugin instance |
140
+ | ` devproxy-plugin-rewrite-file ` | RewritePlugin rewrites file |
141
+ | ` devproxy-plugin-rewrite-file-schema ` | RewritePlugin rewrites file schema |
139
142
| ` devproxy-plugin-rewrite-config ` | RewritePlugin config section |
140
143
| ` devproxy-plugin-url-discovery ` | UrlDiscoveryPlugin instance |
141
144
| ` devproxy-reporter-json ` | JsonReporter instance |
Original file line number Diff line number Diff line change 110
110
],
111
111
"description" : " Dev Proxy response header"
112
112
},
113
+ "Rewrite" :{
114
+ "prefix" : " devproxy-rewrite" ,
115
+ "body" : [
116
+ " {" ,
117
+ " \t\" in\" : {" ,
118
+ " \t\t\" url\" : \" $1\" " ,
119
+ " \t }," ,
120
+ " \t\" out\" : {" ,
121
+ " \t\t\" url\" : \" $2\" " ,
122
+ " \t }" ,
123
+ " }"
124
+ ],
125
+ "description" : " Dev Proxy rewrite"
126
+ },
113
127
"AuthPlugin" : {
114
128
"prefix" : " devproxy-plugin-auth" ,
115
129
"body" : [
889
903
],
890
904
"description" : " RewritePlugin instance"
891
905
},
906
+ "RewritePluginFile" :{
907
+ "prefix" : " devproxy-plugin-rewrite-file" ,
908
+ "body" : [
909
+ " {" ,
910
+ " \t\"\\ $schema\" : \" https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/rewriteplugin.rewritesfile.schema.json\" ," ,
911
+ " \t\" rewrites\" : [" ,
912
+ " \t\t $1" ,
913
+ " \t ]" ,
914
+ " }"
915
+ ],
916
+ "description" : " RewritePlugin rewrites file"
917
+ },
918
+ "RewritePluginFileSchema" :{
919
+ "prefix" : " devproxy-plugin-rewrite-file-schema" ,
920
+ "body" : [
921
+ " \"\\ $schema\" : \" https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/rewriteplugin.rewritesfile.schema.json\" ,"
922
+ ],
923
+ "description" : " RewritePlugin rewrites file schema"
924
+ },
892
925
"RewritePluginConfig" :{
893
926
"prefix" : " devproxy-plugin-rewrite-config" ,
894
927
"body" : [
898
931
" }"
899
932
],
900
933
"description" : " RewritePlugin config section"
901
- },
934
+ },
902
935
"UrlDiscoveryPlugin" : {
903
936
"prefix" : " devproxy-plugin-url-discovery" ,
904
937
"body" : [
You can’t perform that action at this time.
0 commit comments