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

Following Getting Started Guide for Out of Process Model Fails

Open devicenul1 opened this issue 1 year ago • 0 comments

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:

  1. Follow the instructions here
  2. 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
  3. 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

devicenul1 avatar Aug 01 '23 04:08 devicenul1