基于Django-Tastypie构建的Self Documenting API

时间:2013-03-11 10:56:49

标签: django api documentation tastypie

我正在使用django-tastypie,我对它非常满意。但我真的想从Django Rest Framework获得自我记录的api功能。

有哪些解决方案(或有人建立)来获得Django Rest Framework的这种自动生成的文档,但是来自基于TastyPie的API?

1 个答案:

答案 0 :(得分:8)

我自己没有机会使用它,但是django-tastypie-swagger看起来很有希望(https://github.com/concentricsky/django-tastypie-swagger/)。 Swagger本身是API文档(https://developers.helloreverb.com/swagger/)的绝佳选择。