title: Setting up a local editor for swagger
body: <p>I'm about to write some api docs using swagger but the web ui seems very broken for me. I'm trying to set it up so I can write in any editor on my local computer and have the result automatically reload in my browser (or at least automatically rebuilt so I can refresh to see the result). I can see there are a few tools <a href="https://github.com/swagger-api/swagger-codegen#" rel="nofollow noreferrer">swagger codegen</a>, <a href="https://github.com/swagger-api/swagger-ui" rel="nofollow noreferrer">swagger ui</a> but these seem to be fairly complex tools doing a lot of stuff I don't need and I can't work out how to set them up to do what I want. I can also see there is a plugin for VS Code that does this but I would rather use vim.</p>
  
  <p>If I just want something that reads a text file and builds the html every time the text file gets changed how would I set that up?</p>