You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Items are optional by default if they are query String parameters or when there is a question mark (?) in the URL parameter... But When you use custom binding to add your model in the method it appears as a body parameter that is optional, but of course, this is required (in many cases I presume) so it would be great if the Required attribute could be read here to make a parameter required... But the same goes for query parameters I guess.
azure-functions-extensions-swashbuckle/src/AzureFunctions.Extensions.Swashbuckle/AzureFunctions.Extensions.Swashbuckle/FunctionApiDescriptionProvider.cs
Line 277 in 159797e
Items are optional by default if they are query String parameters or when there is a question mark (?) in the URL parameter... But When you use custom binding to add your model in the method it appears as a body parameter that is optional, but of course, this is required (in many cases I presume) so it would be great if the Required attribute could be read here to make a parameter required... But the same goes for query parameters I guess.
Of course, it also needs to be used here too:
azure-functions-extensions-swashbuckle/src/AzureFunctions.Extensions.Swashbuckle/AzureFunctions.Extensions.Swashbuckle/FunctionApiDescriptionProvider.cs
Line 179 in 159797e
So that it can be rendered as required (not optional)
The text was updated successfully, but these errors were encountered: