mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
parent
b6a4982652
commit
ba98a11fb5
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ public void Configure(IApplicationBuilder app, IHostingEnvironment env)
|
|||
app.UseSwagger(c =>
|
||||
{
|
||||
c.PreSerializeFilters.Add((swaggerDoc, httpReq) => swaggerDoc.Host = httpReq.Host.Value);
|
||||
c.RouteTemplate = "/docs/{documentName}/swagger.json";
|
||||
c.RouteTemplate = "api/docs/{documentName}/swagger.json";
|
||||
UseLowercaseControllerNameInSwaggerHack(c);
|
||||
});
|
||||
app.UseSwaggerUI(c =>
|
||||
|
|
|
|||
Loading…
Reference in a new issue