Closed pvanhooren closed 5 months ago
Hi @pvanhooren,
try to use overload method with setupAction
.
Something like:
app.UseSwaggerForOcelotUI(opt =>
{
// configure OcelotSwaggerUIOptions
}, setup =>
{
// configure SwaggerUIOptions
// 👇 this is place for you
setup.InjectJavascript("/swagger-ui/custom.js");
setup.InjectStylesheet("/swagger-ui/custom.css");
}).UseOcelot().Wait();
Discussed in https://github.com/Burgyn/MMLib.SwaggerForOcelot/discussions/298