An open API service indexing awesome lists of open source software.

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

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行.~~

![demo](./demo.gif)