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