Updated image to github image
This commit is contained in:
@@ -151,7 +151,7 @@ namespace EonaCat.DoxaApi.Middleware
|
|||||||
internal static class EmbeddedAssetLoader
|
internal static class EmbeddedAssetLoader
|
||||||
{
|
{
|
||||||
private static readonly Assembly _assembly = typeof(EmbeddedAssetLoader).Assembly;
|
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)
|
public static (byte[] Bytes, string ContentType)? Load(string assetName)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -6,11 +6,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EonaCat.DoxaApi", "DoxaApi\
|
|||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SampleApi", "sample\SampleApi\SampleApi.csproj", "{22222222-2222-2222-2222-222222222222}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SampleApi", "sample\SampleApi\SampleApi.csproj", "{22222222-2222-2222-2222-222222222222}"
|
||||||
EndProject
|
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
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
Debug|Any CPU = Debug|Any CPU
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
|||||||
@@ -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
|
builds a small OpenAPI-like JSON document with `System.Text.Json`, and serves a UI
|
||||||
This can also be used in an offline environment!
|
This can also be used in an offline environment!
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,6 @@ app.UseRouting();
|
|||||||
|
|
||||||
app.UseDoxaApi(options =>
|
app.UseDoxaApi(options =>
|
||||||
{
|
{
|
||||||
|
|
||||||
options.RoutePrefix = "doxa";
|
options.RoutePrefix = "doxa";
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user