Closed JoeShook closed 1 year ago
Actually this PR is not required. While it is a solution to allow Swagger to be on the route, another solution can be enabled in the startup code.
In my bare bones Asp.Net WebApi project I just needed to add the following code to ensure swagger is routed to.
app.UseRouting();
app.UseEndpoints(endpoints =>
{
endpoints.MapSwagger();
});
I assume we can just close this one now?
Yes. I think it should be closed.
As a consumer of HL7.Fhir.R4.WebApi.AspNetCore, I want to use Swagger in my Asp.Net Web app. Adding Swagger to the Route regex as a negative match. Test included. Swashbuckle.AspNetCore added to Asp.Net Demo Server.