GraphMockResponsePlugin

模拟对Microsoft图形 API 的响应。 包括 MockResponsePlugin 的所有功能,并添加了对模拟Microsoft图形 API 批处理请求的支持。

命令提示符的屏幕截图,其中开发人员代理模拟对Microsoft图形 API 的响应。

配置示例

{
  "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v2.0.0/rc.schema.json",
  "plugins": [
    {
      "name": "GraphMockResponsePlugin",
      "enabled": true,
      "pluginPath": "~appFolder/plugins/DevProxy.Plugins.dll",
      "configSection": "mocksPlugin"
    }
  ],
  "mocksPlugin": {
    "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v2.0.0/mockresponseplugin.schema.json",
    "mocksFile": "mocks.json"
  }
}

有关更多配置选项,请参阅 MockResponsePlugin

配置属性

请参阅 MockResponsePlugin

命令行选项

请参阅 MockResponsePlugin