I'm using an ASP.NET Core Minimal API, the POST operation reads raw data:
app.MapPost("/Authenticate", async (HttpRequest Request) => {
string rawContent = string.Empty;
using (var reader = new StreamReader(Request.Body,
encoding: Encoding.UTF8, detectEncodingFromByteOrderMarks: false))
{
rawContent = await reader.ReadToEndAsync();
}
// .......
})
.WithName("Authenticate")
.WithOpenApi();
When I run dotnet run command and it opens the browser with the Swagger UI, the endpoint parameters are not available, the endpoint works perfect using Postman + raw post data, but it would be nicer if Swagger UI would allow me to input the raw post body too...
Thank you
Tried with interfaces as input, same result, empty parameters @ Swagger UI ...

