Yii Swagger 1.1.0
2022-01-14
924次浏览
Yii Swagger intergration package was updated to version 1.1.0. In this version an ability to configure Yii\Swagger\Middleware\SwaggerJson
via config/params.php
was added:
//...
'yiisoft/yii-swagger' => [
'annotation-paths' => [
'@src/Controller' // Directory where annotations are used
],
'cacheTTL' => 60 // Enables caching and sets TTL, "null" value means infinite cache TTL.
]
//...
新闻归档
热门标签
- yii3
- 扩展
- 发布
- yii2
- debug
- auth client
- bootstrap
- view
- redis
- apidoc
- mongodb
- Yii 2.0
- Yii 1.1
- release
- extensions
- gii
- http 客户端
- runner
- queue
- console
- mailer
- sphinx
- translator
- twig
- html
- db
- cache
- config
- 图书
- widget
- validation
- swiftmailer
- imagine
- error handler
- symfonymailer
- log
- http
- IDE
- router
- hydrator
- i18n
- assets
- elasticsearch
- vardumper
- definitions
- smarty
- swagger
- fastroute
- csrf
- rbac