File tree Expand file tree Collapse file tree 2 files changed +34
-2
lines changed Expand file tree Collapse file tree 2 files changed +34
-2
lines changed Original file line number Diff line number Diff line change 1
- import { DevProxyInstall , PluginDocs , PluginSnippets } from './types' ;
1
+ import { PluginDocs , PluginSnippets } from './types' ;
2
2
3
3
export const pluginSnippets : PluginSnippets = {
4
4
CachingGuidancePlugin : {
@@ -82,6 +82,13 @@ export const pluginSnippets: PluginSnippets = {
82
82
MockGeneratorPlugin : {
83
83
instance : 'devproxy-plugin-mock-generator' ,
84
84
} ,
85
+ MockRequestPlugin : {
86
+ instance : 'devproxy-plugin-mock-request' ,
87
+ config : {
88
+ name : 'devproxy-plugin-mock-request-config' ,
89
+ required : true ,
90
+ } ,
91
+ } ,
85
92
MockResponsePlugin : {
86
93
instance : 'devproxy-plugin-mock-response' ,
87
94
config : {
@@ -171,6 +178,10 @@ export const pluginDocs: PluginDocs = {
171
178
name : 'Mock Generator Plugin' ,
172
179
url : 'https://learn.microsoft.com/microsoft-cloud/dev/dev-proxy/technical-reference/mockgeneratorplugin' ,
173
180
} ,
181
+ MockRequestPlugin : {
182
+ name : 'Mock Request Plugin' ,
183
+ url : 'https://learn.microsoft.com/microsoft-cloud/dev/dev-proxy/technical-reference/mockrequestplugin' ,
184
+ } ,
174
185
MockResponsePlugin : {
175
186
name : 'Mock Response Plugin' ,
176
187
url : 'https://learn.microsoft.com/microsoft-cloud/dev/dev-proxy/technical-reference/mockresponseplugin' ,
Original file line number Diff line number Diff line change 446
446
" },"
447
447
],
448
448
"description" : " MinimalPermissionsPlugin config section"
449
- },
449
+ },
450
450
"MockGeneratorPlugin" : {
451
451
"prefix" : " devproxy-plugin-mock-generator" ,
452
452
"body" : [
458
458
],
459
459
"description" : " MockGeneratorPlugin instance"
460
460
},
461
+ "MockRequestPlugin" : {
462
+ "prefix" : " devproxy-plugin-mock-request" ,
463
+ "body" : [
464
+ " {" ,
465
+ " \t\" name\" : \" MockRequestPlugin\" ," ,
466
+ " \t\" enabled\" : true," ,
467
+ " \t\" pluginPath\" : \" ~appFolder/plugins/dev-proxy-plugins.dll\" ," ,
468
+ " \t\" configSection\" : \" mockRequestPlugin\" " ,
469
+ " }"
470
+ ],
471
+ "description" : " MockResponsePlugin instance"
472
+ },
473
+ "MockRequestPluginConfig" : {
474
+ "prefix" : " devproxy-plugin-mock-request-config" ,
475
+ "body" : [
476
+ " \" mockRequestPlugin\" : {" ,
477
+ " \t\" mockFile\" : \" mock-request.json\" " ,
478
+ " },"
479
+ ],
480
+ "description" : " MockResponsePlugin config section"
481
+ },
461
482
"MockResponsePlugin" : {
462
483
"prefix" : " devproxy-plugin-mock-response" ,
463
484
"body" : [
You can’t perform that action at this time.
0 commit comments