Description
You can use urlsToWatch property array on plugin definitions to determine the URLs that it should look out for. When plugins provide there own urlsToWatch there is no need to provide global urlsToWatch.
Expected behaviour
Dev Proxy should start without error
Actual behaviour

Steps to reproduce
- Create config file using config provided
- Run Dev Proxy
Dev Proxy Version
0.27.0
Operating system (environment)
Windows
Shell
zsh
Configuration file
{
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.27.0/rc.schema.json",
"plugins": [
{
"name": "CrudApiPlugin",
"enabled": true,
"pluginPath": "~appFolder/plugins/dev-proxy-plugins.dll",
"configSection": "feedbackApi",
"urlsToWatch": [
"https://api.ecs.eu/feedback"
]
},
{
"name": "OpenAIMockResponsePlugin",
"enabled": true,
"pluginPath": "~appFolder/plugins/dev-proxy-plugins.dll",
"urlsToWatch": [
"https://*.openai.azure.com/openai/deployments/*/chat/completions*"
]
}
],
"languageModel": {
"enabled": true,
"model": "llama3.2"
},
"feedbackApi": {
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.27.0/crudapiplugin.schema.json",
"apiFile": "feedbackApi.json"
},
"logLevel": "information",
"newVersionNotification": "stable",
"showSkipMessages": true
}
Additional Info
No response
Description
You can use
urlsToWatchproperty array on plugin definitions to determine the URLs that it should look out for. When plugins provide there own urlsToWatch there is no need to provide globalurlsToWatch.Expected behaviour
Dev Proxy should start without error
Actual behaviour
Steps to reproduce
Dev Proxy Version
0.27.0
Operating system (environment)
Windows
Shell
zsh
Configuration file
{ "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.27.0/rc.schema.json", "plugins": [ { "name": "CrudApiPlugin", "enabled": true, "pluginPath": "~appFolder/plugins/dev-proxy-plugins.dll", "configSection": "feedbackApi", "urlsToWatch": [ "https://api.ecs.eu/feedback" ] }, { "name": "OpenAIMockResponsePlugin", "enabled": true, "pluginPath": "~appFolder/plugins/dev-proxy-plugins.dll", "urlsToWatch": [ "https://*.openai.azure.com/openai/deployments/*/chat/completions*" ] } ], "languageModel": { "enabled": true, "model": "llama3.2" }, "feedbackApi": { "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.27.0/crudapiplugin.schema.json", "apiFile": "feedbackApi.json" }, "logLevel": "information", "newVersionNotification": "stable", "showSkipMessages": true }Additional Info
No response