title: SwaggerUIBundle hide schemes
body: <p>I have working on the <code>swagger-ui</code> which use the swagger <code>json</code> file like:</p>
  
  <pre><code>...
  ...
  ...
  host: example.com
  basePath: /
  schemes:
  - https
  swagger: "2.0"
  ...
  ...
  ...
  </code></pre>
  
  <p>Is there any way to not show the <strong><code>schemes</code></strong> on the web via <code>swagger-ui</code>. </p>
  
  <p>I have gone through the documentation for <a href="https://github.com/swagger-api/swagger-ui/blob/master/docs/usage/configuration.md" rel="noreferrer">configuration</a>, but couldn't find anything that I can use. I might be missing something.</p>
  
  <p>Let me know if you have any idea.</p>
  
  <p>My JS code snippet:</p>
  
  <pre><code>// above code for swagger-ui stuff
  // snippet is just about conf
  jQuery(document).ready(function () {
      const swaggerUI = SwaggerUIBundle({
          url: jQuery("#swagger-ui").data("source"),
          dom_id: "#swagger-ui",
          deepLinking: true,
          presets: [
          SwaggerUIBundle.presets.apis
          ],
          plugins: [
          ],
          layout: "BaseLayout",
          defaultModelsExpandDepth: -1,
      });
      window.swaggerUI = swaggerUI;
  });
  </code></pre>
  
  <p>What I want to hide:</p>
  
  <p><a href="https://i.stack.imgur.com/dAcSg.png" rel="noreferrer"><img src="https://i.stack.imgur.com/dAcSg.png" alt="enter image description here"></a></p>