https://github.com/lichunqiang/yii2-swagger-demo
The showcase for yii2-swagger
https://github.com/lichunqiang/yii2-swagger-demo
demo yii2-swagger
Last synced: about 1 month ago
JSON representation
The showcase for yii2-swagger
- Host: GitHub
- URL: https://github.com/lichunqiang/yii2-swagger-demo
- Owner: lichunqiang
- License: other
- Created: 2015-12-10T06:51:01.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-10-11T15:33:02.000Z (over 7 years ago)
- Last Synced: 2025-03-27T12:52:38.894Z (about 2 months ago)
- Topics: demo, yii2-swagger
- Language: PHP
- Homepage:
- Size: 1.27 MB
- Stars: 60
- Watchers: 5
- Forks: 20
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
Demo
-----Clone 到本地后直接 `composer install`.
然后直接启动php内置服务器:
```
$ yii serve
```然后在浏览器中输入:`http://127.0.0.1:8080`
~~对了, 我设置了`api_key` 为 `test`, 所以你要输入这个key才可以正常访问。~~
~~你也可以注释掉这段,在 `SiteController`第58行.~~
