Many questions have been posted and answered about REST / HTTP based APIs, etc, but none seem to have much information on the following question:
What tools are available/used to document a HTTP-RPC API? Which tools are the best?
A Similar question (specific to ASP.NET) from Jan 2009 can be found here, but with no answers.
I am in the process of developing several APIs both professionally and for personal projects (.NET MVC/OpenRasta, PHP, Coldfusion, etc..), and I haven't found anything in particular to help document these APIs. I am not looking for auto-generation based on code-parsing/scrubbing or anything like that. As you probably already know a RESTful/HTTP-based API should be client and platform agnostic; as such I would expect any documentation tool to be the same.
Features that a decent tool might have:
Here are some examples of what I consider decent API documentation/reference(s) look like:
http://dev.twitter.com/doc/post/statuses/destroy/:id
http://www.salesforce.com/us/developer/docs/api_rest/index.htm
http://www.flickr.com/services/api/
The tool that is used to develop API documentation is OpenAPI and Swagger. The documentation can be of technical writing or code samples.
Postman allows you to publish documentation quickly and easily. Postman automatically pulls your sample requests, headers, code snippets, etc. to populate your documentation page with dynamic examples and machine-readable instructions so you can easily share your API with the rest of the world.
SWAGGER is probably worth a look for you need. I use it for documenting REST entrypoints exposed by a java application using Jersey, but it looks like you can use it with other languages too.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With