Freigeben über


GraphSelectGuidancePlugin

Zeigt eine Warnung an, wenn der Proxy eine Anforderung an Microsoft Graph-APIs abfangen, die den $select Abfragezeichenfolgenparameter nicht enthält.

Screenshot einer Eingabeaufforderung mit Dev Proxy mit einer Warnung nach dem Abfangen einer Anforderung an Microsoft Graph, die den parameter $select nicht verwendet.

Konfigurationsbeispiel

{
  "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v2.0.0/rc.schema.json",
  "plugins": [
    {
      "name": "GraphSelectGuidancePlugin",
      "enabled": true,
      "pluginPath": "~appFolder/plugins/DevProxy.Plugins.dll"
    }
  ],
  "urlsToWatch": [
    "https://graph.microsoft.com/v1.0/*",
    "https://graph.microsoft.com/beta/*",
    "https://graph.microsoft.us/v1.0/*",
    "https://graph.microsoft.us/beta/*",
    "https://dod-graph.microsoft.us/v1.0/*",
    "https://dod-graph.microsoft.us/beta/*",
    "https://microsoftgraph.chinacloudapi.cn/v1.0/*",
    "https://microsoftgraph.chinacloudapi.cn/beta/*"
  ]
}

Konfigurationseigenschaften

Nichts