azure-functions-openapi-extension
azure-functions-openapi-extension copied to clipboard
Following Getting Started Guide for Out of Process Model Fails
Describe the issue When following the getting starting guide for the out of process model the app will compile but rendering the swagger UI fails with no errors.
To Reproduce Steps to reproduce the behavior:
- Follow the instructions here
- After installing the Microsoft.Azure.Functions.Worker.Extensions.OpenApi package to the project, adding the decorators to the MyHttpTrigger and modifying Program.cs to include NewtonsoftJson the project will run with
func host start
- Navigating a browser to
http://localhost:7071/api/swagger/ui
fails with only
[2023-08-01T04:46:57.864Z] Executing 'Functions.RenderSwaggerUI' (Reason='This function was programmatically called via the host APIs.', Id=98860e33-f012-4ebd-8b43-c3a9930613c6)
output to console and nothing rendered in browser
Expected behavior Swagger UI loads
Environment (please complete the following information, if applicable):
- OS: Windows
- Browser firefox or chrome
- Version 1.5.1