P
P
Puma Thailand2012-07-16 18:41:50
Documentation
Puma Thailand, 2012-07-16 18:41:50

How do you document your rest apis?

For example, I wrote my rest api, I want to let everyone use it, if there are any standard ways to create documentation or guides, cookbooks for creating documentation.

Answer the question

In order to leave comments, you need to log in

5 answer(s)
V
VaiMR, 2012-07-16
@VaiMR

For example en.wikipedia.org/wiki/Web_Application_Description_Language . And for myself (two developers, a client and a server), google docs helps out so as not to bother.

D
Danila Shtan, 2012-07-16
@Ramm

apiary.io

W
Wott, 2012-07-17
@Wott

I think that REST APi should be very simple and understandable, but I have not yet driven really complex representations.
As a dock, I usually give a minimal example of interaction in which I comment on the necessary actions and provide proper responses from the service. In principle, you can probably find a tool that will bring the example code to beautiful html, but this is more a matter of generating a dock in general and not for api.

S
Sergey, 2012-07-16
Protko @Fesor

All REST methods for me are described through annotations (Symfony 2) and then documentation is generated for them. Adding curl examples there is no problem.

1
1nd1go, 2012-07-16
@1nd1go

I was wondering if you can find something useful for yourself.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question