A work in progress. It produces this: https://bfirsh.github.io/docker-api-reference/
See docker-archive-public/docker.engine-api#77 for background.
Note: swagger.yaml is now in docker/docker, which is now the source of truth. For the current state of implementing the docs, see this pull request.
Install Dobi, the build tool:
curl -L -o /usr/local/bin/dobi "https://github.com/dnephin/dobi/releases/download/v0.8/dobi-$(uname -s)"; chmod +x /usr/local/bin/dobi
To view docs, run dobi preview and go to http://localhost
To validate the Swagger configuration, run dobi validate.
To generate a swagger.json file, run dobi swagger.json.