更新时间:2023-09-04 10:18:22
抱歉挖了帖子,但是有一个 Symfony bundle 来帮助 API doc 生成,你可以查看 NelmioApiDocBundle 与 FOSRestBundle 互连良好.
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.
FOSRestBundle 文档提供了示例包,使用这两个包来生成符合 REST 的 Web 服务及其文档.
The FOSRestBundle documentation provides sample bundles using both bundles to generate REST-ful web services and their documentation.