Aracılığıyla paylaş


GraphMockResponsePlugin

Microsoft Graph API'lerine verilen yanıtlarla dalga geçer. MockResponsePlugin tüm işlevlerini içerir ve Sahte Microsoft Graph API toplu istekleri için destek ekler.

Microsoft Graph API'sine verilen yanıtı taklit eden Dev Proxy ile komut isteminin ekran görüntüsü.

Yapılandırma örneği

{
  "$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"
  }
}

Daha fazla yapılandırma seçeneği için bkz. MockResponsePlugin .

Yapılandırma özellikleri

Bkz. MockResponsePlugin

Komut satırı seçenekleri

Bkz. MockResponsePlugin