How do you document a REST API?

前端 未结 4 1722
借酒劲吻你
借酒劲吻你 2021-02-14 16:19

How do you document a REST API? Not just the documentation of what the resources are, but really what is the data that gets sent in the request and what the data is that gets se

4条回答
  •  温柔的废话
    2021-02-14 16:44

    I've experience using Enunciate which is great but I don't really like the clients that you can generate with it. On the other hand, I've been using swagger on my last projects and it seems to fit my needs, it's really cool you should give a try!

    UPDATE 03/08/2016: Looks like you can use Enunciate to build swagger docs.
    See this.

提交回复
热议问题