时间:2021-07-01 10:21:17 帮助过:20人阅读
项目描述信息
Info/api.php
readme# Usage of API Docs### Raw Spec Structure* Info - General Info.* Model - Entity Class* Resource - API endpoint### Compile API info.* after modify the spec, run shell script, as follows. `cd api-docs` `./genDocumentation.sh`* the compiled content (.json) is stored in documentation/Output/### View API docs* visit http://{domain}/documenation/
sh 执行文件#!/bin/sh../swagger-php/swagger.phar ../output-docs -o ../documentation/output/