Reputation: 185
I am new in Azure. I want to generate the Swagger JSON/YAML file for Functoin APP.
When I am trying to generate it from "API defination" it's giving me below alert message. "Unable to download Swagger 2.0 metadata. Please verify that the URL is publicly accessible. You may need to enable CORS for the App Service portal extension located at blob://." Please suggest me the way to fix this or any other way to generate the Swagger JSON/YAML file / Swagger UI.
Thanks
Upvotes: 0
Views: 2975
Reputation: 4870
You can try installing AzureFunctions.Extensions.Swashbuckle
nuget package - the implementation of which is well explained here.
Upvotes: 3