-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to replace the logo? #21
Labels
enhancement
New feature or request
Comments
upgrade version 0.0.8 app.UseRapiDocUI(c =>
{
c.RoutePrefix = ""; // serve the UI at root
c.SwaggerEndpoint("/v1/api-docs", "V1 Docs");
//https://mrin9.github.io/RapiDoc/api.html
//This Config Higher priority
c.GenericRapiConfig = new GenericRapiConfig()
{
ShowHeader = true,
RenderStyle = "read",
Theme = "light",//light | dark
SchemaStyle = "table",////tree | table
};
c.SlotsOptions = new SlotOptions()
{
Logo = "https://rapidocweb.com/images/dog.png"
}
} |
Perfect! Thank you for your prompt response. Worked like a charm.
John F. Holliday
President and CEO
+1 (404) 542-4637
Holliday & Associates
www.holliday.associates<https://www.holliday.associates/>
Book time with John ***@***.***?anonymous&ep=pcard>
From: IGeekFan ***@***.***>
Sent: Friday, May 3, 2024 2:25 AM
To: luoyunchong/IGeekFan.AspNetCore.RapiDoc ***@***.***>
Cc: John Holliday ***@***.***>; Author ***@***.***>
Subject: Re: [luoyunchong/IGeekFan.AspNetCore.RapiDoc] How to replace the logo? (Issue #21)
upgrade version 0.0.8
app.UseRapiDocUI(c =>
{
c.RoutePrefix = ""; // serve the UI at root
c.SwaggerEndpoint("/v1/api-docs", "V1 Docs");
//https://mrin9.github.io/RapiDoc/api.html
//This Config Higher priority
c.GenericRapiConfig = new GenericRapiConfig()
{
ShowHeader = true,
RenderStyle = "read",
Theme = "light",//light | dark
SchemaStyle = "table",////tree | table
};
c.SlotsOptions = new SlotOptions()
{
Logo = "https://rapidocweb.com/images/dog.png"
}
}
—
Reply to this email directly, view it on GitHub<#21 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABIMPXDWJS4HU446OS4RX6LZAMUSNAVCNFSM6AAAAABHDVD6B6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJSGM4DAMBSHA>.
You are receiving this because you authored the thread.Message ID: ***@***.******@***.***>>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There does not seem to be a way to replace the logo with a custom image. Can you provide an example?
The text was updated successfully, but these errors were encountered: