title: How to generate swagger.yml from source code
body: <p>Its easy to generate source code from a swagger file because there are many plugins around. I find it difficult to find a documentation which shows me how to create a swagger.yml file from by java code base, build tool is gradle.</p>
  <p>I scanned <a href="https://springfox.github.io/springfox/docs/current/#configuration-explained" rel="nofollow noreferrer">https://springfox.github.io/springfox/docs/current/#configuration-explained</a> - but I did not find something interesting.</p>
  <p><a href="https://plugins.gradle.org/plugin/org.hidetake.swagger.generator" rel="nofollow noreferrer">https://plugins.gradle.org/plugin/org.hidetake.swagger.generator</a> seems that it only creates source code of swagger.yml</p>