Skip to content

接口文档和接口模拟

TIGERB edited this page May 21, 2017 · 1 revision

Api Blueprint接口描述协议选取的工具是snowboard,具体使用说明如下:

接口文档生成说明

cd docs/apib

./snowboard html -i demo.apib -o demo.html -s

open the website, http://localhost:8088/

接口mock使用说明

cd docs/apib

./snowboard mock -i demo.apib

open the website, http://localhost:8087/demo/index/hello
Clone this wiki locally