New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore and OpenApi extension #617
Comments
We are also encountering the same issue. |
Edit: after checking how ...Http.AspNetCore returns errors for how HttpRequestData.Url is handled (it has thrown a UriFormatException), I found that the currently latest commit (Azure/azure-functions-dotnet-worker@bf56b37) might attempting to solve this issue. We have also been dealing with the what could be the same problem for 2 days now. When going to "http://localhost:{port}/api/swagger.json" or "/api/swagger/ui" we get the error message below. It states Our best guess is that it's due to The open api generation actually works fine if I don't use
|
+1. Also having this issue |
I am also having this issue with Open API extension when using ASP.Net core integration for Isolated Process Functions. |
+1 for the same issue. Any workaround? |
Describe the issue
When I create a new Function App dotnet core 6.0 Isolated app and I am using the following nuget package:
Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore
and I am changing in the Program.cs this line:
var host = new HostBuilder()
.ConfigureFunctionsWorkerDefaults(worker => worker.UseNewtonsoftJson())
.Build();
to this
var host = new HostBuilder()
.ConfigureFunctionsWebApplication(worker => worker.UseNewtonsoftJson())
.Build();
, and I am trying to open the URL openapi UI I don't get any data.
To Reproduce
Steps to reproduce the behavior:
project attached to the report.
Expected behavior
I would like to use openapi extension with Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore nuget package.
Screenshots
Environment (please complete the following information, if applicable):
Additional context
FunctionApp1.zip
The text was updated successfully, but these errors were encountered: