NSwag.AzureFunctionsV2
NSwag.AzureFunctionsV2 copied to clipboard
Azure Function Version 4 Runtime Incompatibility
Hello, I am trying to generate swagger docs for azure function endpoint with no success. I am using the latest runtime version for an Azure function (v4) and .net 6. After some review, it appears that when trying to generate an OpenApiDocument via GenerateForAzureFunctionClassesAsync method, no documents are generated. Looking at the code for the above method, it seems it is trying to filter on FunctionNameAttribute class. However because of a change in v4, this has been renamed to "FunctionAttribute." Is it possible to update this tool for use with version 4 of Azure functions?
Thanks, Javad