azure-functions-openapi-extension icon indicating copy to clipboard operation
azure-functions-openapi-extension copied to clipboard

1.0.0 Swagger UI empty when not debugging

Open myddraall opened this issue 3 years ago • 0 comments

When running the function app via func start or deploying via Azure devops, the swagger ui says No operations defined in spec

Steps to reproduce the behavior: Create a new function app solution

  • Choose Http trigger with OpenAPI Update the OpenApi version to 1.0.0 ​ Debug the solution in Visual Studio 2019 Navigate to swagger ui, observe the spec for the default function Stop running debug Ctrl+` to get to Developer Powershell type func start Navigate to swagger ui, observe No operations defined in spec ​ I would expect the swagger.json to be generated via either method

myddraall avatar Nov 10 '21 17:11 myddraall