Auto generate REST API docs from Symfony [closed]

早过忘川 提交于 2019-12-01 02:23:15

问题


Is there an easy way to generate docs for REST api direct from a Symfony project?


回答1:


Sorry for the post digging, but there is a Symfony bundle to help API doc generation, you can check out NelmioApiDocBundle which interconnects well with FOSRestBundle.

The FOSRestBundle documentation provides sample bundles using both bundles to generate REST-ful web services and their documentation.



来源:https://stackoverflow.com/questions/8872276/auto-generate-rest-api-docs-from-symfony

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!