Comments (2)
Similar issue after update up to 3.0.3.
Downgrade to 3.0.2 helps.
composer require light/yii2-swagger 3.0.2 -W
from yii2-swagger.
Check out the migration process to version 4.
https://zircote.github.io/swagger-php/guide/migrating-to-v4.html
Annotations now must be associated with a structural element (class, trait, interface), a method, property or const.
@lichunqiang perhaps the package version should have been upgraded to 4.0.0. #30 zircote/swagger-php v4 is fine and much more convenient, but it breaks backward compatibility :-(
from yii2-swagger.
Related Issues (20)
- add the json file generate helper
- Broken with zircote/swagger-php v2.0.11 HOT 4
- Is it possible to update to Swagger UI v.3? HOT 1
- Create branch for 3.x HOT 11
- [QUESTION] How do I personalize Swagger HOT 2
- Ignoring annotation issue
- Update to swagger-php 3.x HOT 1
- bower-asset/swagger-ui 这个包已经失踪了 HOT 1
- Install config HOT 1
- PHP 7.4 support HOT 1
- bower目前已经不维护,不建议引用相关依赖,对于swagger-ui的依赖建议修改为npm
- swithc to Generator class HOT 1
- Support "bower-asset/swagger-ui": "^4.1"? HOT 6
- Error in bundle HOT 1
- Add in header basic auth. HOT 4
- The package is not available in a stable-enough version according to your minimum-stability setting HOT 12
- v1.0.3 Update not working HOT 1
- api_key 在nginx下通过header发送,无法验证。 HOT 2
- composer 安装报错 HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yii2-swagger.