How to replace Swagger UI header logo in Swashbuckle : <p>I am using the Swashbuckle package for WebAPI and am attempting to customize the look and feel of the swagger ui default page.
I would like to customize the default swagger logo/header. I have added the following to SwaggerConfig</p>

<pre><code>.EnableSwaggerUi(c =&gt;
 {
  c.InjectJavaScript(thisAssembly, 
    typeof(SwaggerConfig).Namespace + ".SwaggerExtensions.custom-js.js");
  }
</code></pre>

<p>The contents of custom-js.js are as follows:</p>

<pre><code>$("#logo").replaceWith("&lt;span id=\"test\"&gt;test&lt;/span&gt;");
</code></pre>

<p>This works for the most part but the visual is a bit jarring, in that the default swagger header is visible while the page loads and after a brief delay the jquery below kicks and the content of the #logo element is updated</p>

<p>Is there a way to avoid this so that the jquery kicks in as part of the initial load/render and it appears seamless?</p>
