且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

从 Symfony 自动生成 REST API 文档

更新时间:2023-09-04 10:18:22

抱歉挖了帖子,但是有一个 Symfony bundle 来帮助 API doc 生成,你可以查看 NelmioApiDocBundleFOSRestBundle 互连良好.

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.