diff --git a/DoxaApi/Middleware/ApiDocsMiddleware.cs b/DoxaApi/Middleware/ApiDocsMiddleware.cs index 3b46954..2e46e11 100644 --- a/DoxaApi/Middleware/ApiDocsMiddleware.cs +++ b/DoxaApi/Middleware/ApiDocsMiddleware.cs @@ -151,7 +151,7 @@ namespace EonaCat.DoxaApi.Middleware internal static class EmbeddedAssetLoader { private static readonly Assembly _assembly = typeof(EmbeddedAssetLoader).Assembly; - private static readonly string _prefix = "DoxaApi.UI.Assets."; + private static readonly string _prefix = "EonaCat.DoxaApi.UI.Assets."; public static (byte[] Bytes, string ContentType)? Load(string assetName) { diff --git a/EonaCat.DoxaApi.sln b/EonaCat.DoxaApi.sln index f3829f3..a99654f 100644 --- a/EonaCat.DoxaApi.sln +++ b/EonaCat.DoxaApi.sln @@ -6,11 +6,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EonaCat.DoxaApi", "DoxaApi\ EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SampleApi", "sample\SampleApi\SampleApi.csproj", "{22222222-2222-2222-2222-222222222222}" EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{3B167511-F7C3-4F80-B199-1E02ED686E11}" - ProjectSection(SolutionItems) = preProject - image.png = image.png - EndProjectSection -EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU diff --git a/README.md b/README.md index 62fc359..95b1f6a 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ EonaCat.DoxaApi scans your controllers with plain `System.Reflection` and ASP.NE builds a small OpenAPI-like JSON document with `System.Text.Json`, and serves a UI This can also be used in an offline environment! -![alt text](image.png) +![alt text](https://github.com/EonaCat/images/blob/401a0b27ff4d6645d4106dd960f58ae0e44fec96/DoxaApi_overview.png?raw=true) ## Install diff --git a/image.png b/image.png deleted file mode 100644 index 5ec406a..0000000 Binary files a/image.png and /dev/null differ diff --git a/sample/SampleApi/Program.cs b/sample/SampleApi/Program.cs index eece97d..b81e314 100644 --- a/sample/SampleApi/Program.cs +++ b/sample/SampleApi/Program.cs @@ -18,7 +18,6 @@ app.UseRouting(); app.UseDoxaApi(options => { - options.RoutePrefix = "doxa"; });