-
Notifications
You must be signed in to change notification settings - Fork 78
Closed
Labels
Description
Description
In code and documentation, there is the property blockUnmockedRequests that is not included into MockResponsePlugin configuration schema yet.
Nonetheless the blockUnmockedRequests setting can be used and works as documented.
Expected behaviour
no error in the devproxy console logs
Actual behaviour
there is a failure in console (but behaviour is not affected)
MockResponsePlugin: Plugin configuration validation failed with the following errors: Property 'blockUnmockedRequests' has not been defined and the schema does not allow additional properties. Path 'blockUnmockedRequests', line 4, position 28.
Steps to reproduce
use blockUnmockedRequests in configuration
Dev Proxy Version
0.27.0
Operating system (environment)
Windows
Shell
PowerShell
Configuration file
devproxyrc.json
...
"mockResponsePlugin": {
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.27.0/mockresponseplugin.schema.json",
"mocksFile": "mocks.json",
"blockUnmockedRequests": true
},
...Additional Info
No response
waldekmastykarz