title: How to change default Swagger 2 api doc name in Java Spring API
body: <p>So right now the default is: <code>/v2/api-doc</code> .</p>
  
  <p>How can I configure swagger to be <code>/v2/swagger.json</code></p>
  
  <p>I don't know how to find the property file.</p>
  
  <p>Solution is on the comments in .yml file : </p>
  
  <pre><code>springfox:
    documentation:
      swagger:
        v2:
         path: /v1/swagger.json
  </code></pre>