mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
parent
9c45afc896
commit
70287819dc
2 changed files with 2 additions and 2 deletions
|
|
@ -26,7 +26,7 @@ private static void AddSwaggerGenCustom(this IServiceCollection services)
|
|||
Title = "FilterLists API",
|
||||
Version = "v1",
|
||||
Description =
|
||||
"FilterLists is the independent and comprehensive directory of all public filter and hosts lists for advertisements, trackers, malware, and annoyances.",
|
||||
"A REST-ish API for FilterLists, the independent, comprehensive directory of all public filter and hosts lists for advertisements, trackers, malware, and annoyances.",
|
||||
Contact = new Contact
|
||||
{
|
||||
Url = "https://github.com/collinbarrett/FilterLists/",
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ public void Configure(IApplicationBuilder app, IHostingEnvironment env)
|
|||
});
|
||||
app.UseSwaggerUI(c =>
|
||||
{
|
||||
c.SwaggerEndpoint("/docs/v1/swagger.json", "FilterLists API v1");
|
||||
c.SwaggerEndpoint("api/docs/v1/swagger.json", "FilterLists API v1");
|
||||
c.DocumentTitle = "FilterLists API v1";
|
||||
c.RoutePrefix = "docs";
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue