Use multiple Json files in swagger-ui
<p>I am using <a href="https://github.com/swagger-api/swagger-ui" rel="nofollow">Swagger-ui version 2.1.4</a>, i have hosted it locally and provided it my own Json file and API it opens the document fine and lists all the method in the json file, but the json file become very big, i want to use multiple json files and want to open one at a time, i do not know how to provide it multiple json files and use them, because the single file i have provided it in the index page was like this: </p>

<pre><code>  var url = window.location.search.match(/url=([^&amp;]+)/);
  if (url &amp;&amp; url.length &gt; 1) {
      url = decodeURIComponent(url[1]);
  } else {
      url = "http://localhost:1122/Json/Swagger-ui2.1.4V1.JSON";
  }
</code></pre>