title: Create swagger.json in java/scala
body: <p>I would like to create valid <code>swagger.json</code> file in runtime. The brute force approach would be to model whole sagger spec in my program and then just build the <code>swagger.json</code> by hand taking all responsibility of the validity on me.</p>
  
  <p>My question is: is there any library or parts of swagger itself, that can help me? I don't want to generate the file based on some existing server code, but rather create it and output as string in runtime.</p>