microsoft / vscode-azurefunctions

Azure Functions extension for VS Code
https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azurefunctions
MIT License
290 stars 131 forks source link

Getting warning message "Matches multiple schemas when only one must validate." in host.json file #4093

Closed RyanHill-MSFT closed 2 months ago

RyanHill-MSFT commented 3 months ago

See MicrosoftDocs/azure-docs#121718, the VS Code editor throws a warning message for multiple schema matches on host.json.

323232982-df354fbf-ebb8-4d3f-a036-c0ba7799e9f7
nturinski commented 2 months ago

Hi @RyanHill-MSFT,

This warning is coming up because the Azure Logic Apps extension also contributes a host.json schema that is identical to ours. For some reason, VS Code will only validate one schema per file and is throwing this warning.

To get rid of the warning, I recommend uninstalling the Azure Logic Apps extension if you don't need it. Also please file this issue on https://github.com/microsoft/vscode/issues since we can't control this warning.