From 3e29ca47db9b889b226d796875edfd41d114adbb Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Wed, 6 Jun 2018 17:06:36 -0500 Subject: [PATCH] try fixing swagger ref #131 --- .github/README.md | 2 +- src/FilterLists.Api/Startup.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/README.md b/.github/README.md index 67b9f3ae4..dc6cb8427 100644 --- a/.github/README.md +++ b/.github/README.md @@ -9,7 +9,7 @@ FilterLists is the independent, comprehensive directory of filter and host lists ## Links | Site | API | | --------------------------------------------------- | ------------------------------------------------------ | -| [v3 (Live, Beta)](https://filterlists.com/) | [v1 (Live, Beta)](https://filterlists.com/api/v1/lists)| +| [v3 (Live, Beta)](https://filterlists.com/) | [v1 (Live, Beta)](https://filterlists.com/api/docs) | | [v2 (Legacy, Frozen)](https://v2.filterlists.com/) | | | [v1 (Legacy, Frozen)](https://v1.filterlists.com/) | | diff --git a/src/FilterLists.Api/Startup.cs b/src/FilterLists.Api/Startup.cs index 063c2787d..0bc24b714 100644 --- a/src/FilterLists.Api/Startup.cs +++ b/src/FilterLists.Api/Startup.cs @@ -55,7 +55,7 @@ public void Configure(IApplicationBuilder app, IHostingEnvironment env) app.UseSwagger(); app.UseSwaggerUI(c => { - c.SwaggerEndpoint("/v1/swagger.json", "FilterLists API V1"); + c.SwaggerEndpoint("/swagger/v1/swagger.json", "FilterLists API V1"); c.RoutePrefix = "docs"; }); app.UseHttpsRedirection();