一个使openstack api自文档化的项目。

fairy-slipper的Python项目详细描述


一个使openstack api自文档化的项目。

功能

  • 将WADL源迁移到扩展文件
  • 在web浏览器中显示rst plus swagger json文件

开发

首先运行migrate脚本以最初从wadl迁移内容:

./migrate.sh

此脚本将签出文档的当前版本。

要运行Web服务器,请使用:

./run_server.sh

然后,一个基于山核桃的web服务器将监听http://127.0.0.1:8080

角度

要开发angularjs组件,使用grunt web服务器是最简单的:

grunt

你仍然需要运行仙女拖鞋网络服务器,但这将 如果访问端口http://127.0.0.1:9000,则启用自动重新加载

目录结构(未来)

当前文档输出布局:

api-doc/ -- the root of the documentation
api-doc/index.json  -- the index file that lists all the files that are included in the API doc.
api-doc/<service>/<version>.rst
api-doc/<service>/<version>/<request_schema>.json
api-doc/<service>/<version>/<response_schema>_<status_code>.json
api-doc/<service>/<version>/examples/<request>_req.json
api-doc/<service>/<version>/examples/<response>_resp_<status_code>.json
conversion_files_valid/<service-version>.json -- valid Swagger files

其他有用的工具

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java Admob不使用webview   Java Wicket表单:序列化对象类“myClassName”时出错   java googledriveapi更新文件与我的帐户管理员   java简单框架未知xml标记解析   java如何使用主类和用户获取Spark应用程序ID   java如何更改自定义属性的值?   java有没有办法在jMock中找到未使用的期望值?   gradle运行任务的java文档?   java通过使用数组来存储文本文件的行,通过覆盖来删除文本文件中的行   用于表达式语言注入的java利用负载   java IDEStyle程序运行   java在运行时启用/禁用Springws   爪哇芦苇。formatNumber NullPointException   java为什么我的代码无法检测两个动态实体之间的碰撞?