问题
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