You can generate documentation a couple ways:
- Apiary Client (recommended)
- Atom
Apiary Client needs Ruby to run.
You can install the Apiary Client by running:
gem install apiaryio
You can now run the server:
apiary preview --path=blueprint/api.apib --server
This runs an Apiary CLI server on port 8080
. You can visit the documentation by visiting localhost:8080
in your browser. Just refresh the page whenever you make changes to the documentation file at /blueprint/api.apib
.
If you're developing with Atom, you can also use the API Blueprint Preview package to preview your blueprint changes in realtime.