2024-09-04 318次浏览

Yii Swagger 2.1版本包已经发布了。 以下是新版本中包含的更改列表:

  • Added support for psr/http-message of versions ^2.0 .
  • Raised required yiisoft/yii-view version to ^7.1 .
  • Added \Yiisoft\Swagger\Action\SwaggerJson and \Yiisoft\Swagger\Action\SwaggerUi actions, mark \Yiisoft\Swagger\Middleware\SwaggerJson and \Yiisoft\Swagger\Middleware\SwaggerUi clases as deprecated (they will be removed in the next major version).
  • Added support for swagger-api/swagger-ui of version 5.