swagger自动生成接口
可参考:
https://www.cnblogs.com/lyh940/p/7020576.html
http://www.yanchat.com/75.html
https://www.php.cn/php-weizijiaocheng-233089.html
https://bfanger.nl/swagger-explained/#swaggerObject
我的命令行:
生成demo
php D:/xampp/htdocs/open_standard/vendor/zircote/swagger-php/bin/swagger D:/xampp/htdocs/open_standard/vendor/zircote/swagger-php/Examples -o D:/xampp/htdocs/open_standard/public/swagger-ui/swagger.json
生成具体值
php D:/xampp/htdocs/open_standard/vendor/zircote/swagger-php/bin/swagger D:/xampp/htdocs/open_standard/application/index -o D:/xampp/htdocs/open_standard/public/swagger-ui/swagger.json
你的指尖,有着改变世界的力量!