自动生成Symfony的REST API文档 [英] Auto generate REST API docs from Symfony

查看:1211
本文介绍了自动生成Symfony的REST API文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有一种简单的方法来产生直接从Symfony的项目REST API文档?

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

推荐答案

很抱歉的职位挖,但有一个Symfony的捆绑,以帮助API文档生成,你可以检查出的 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-FUL Web服务及其文档提供样品包。

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

这篇关于自动生成Symfony的REST API文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆