首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 轨,其余原料药的文件生成

轨,其余原料药的文件生成

  • 资源大小:28.73 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: 文件 生成 原料药 其余

资 源 简 介

RAPIDoc RAPIDoc is a controller generator for your Rails Restful API. It generates a API controller, by simply invoking... ./generate It parses the controllers you specify, and generates a ApiController with appropriate views for it. This makes it very easy to document your Rest API. For methods you use, and according to ERB templates it generates the view for you. EXAMPLE Class documentation ``` =begin apidoc name:: /projects json:: <%=Project.find(:first).to_json %> xml:: <%=Project.find(:first).to_xml %> This resource can be used to show edit and list projects. A project is a one floorplanner. A project has multiple floors, which can contain multiple designs. =end ``` EXAMPLE Method documentation ``` =begin apidoc url:: /projects method:: GET access:: FREE return:: [JSON|XML] - some project param:: page:int - the page param:: per_page:int - max items per page Get a list of projects.

文 件 列 表

classes
.svn
doc_util.rb
method_doc.rb
rapidoc.rb
resource_doc.rb
generate
README
structure
.svn
controllers
views
templates
.svn
_resource_header.html.erb.erb
_resource_method.html.erb.erb
api_controller.rb.erb
index.html.erb.erb
resource.html.erb.erb
VIP VIP
0.184365s