azure-functions-dotnet-worker/docs/analyzer-rules/AZFW0007.md

751 B

AZFW0007: Multiple HTTP response binding types for Azure Function

Value
Rule ID AZFW0007
Category [AzureFunctionsSyntax]
Severity Error

Cause

This rule is triggered when there are multiple HTTP response binding types associated with an Azure Function.

Rule description

Each Azure Function can have only one HTTP response binding type.

How to fix violations

Make sure you have only one HTTP response binding type associated with a function. If you have a custom return type, please check all of the properties to verify that there is only one HTTP response binding type.

When to suppress warnings

This rule should not be suppressed because this error will prevent your functions from running.