Upload a swagger.json file to generate documentation:

Check out the source code for swagger-doc on GitHub.