Skip to content

Commit

Permalink
Update to swagger-php 3.x (#21)
Browse files Browse the repository at this point in the history
* Remove SwaggerUIAssetOverrides, removing unused imports

* Upgrade swagger-php version to 3

* Classes refactoring for swagger-php v3 support
  • Loading branch information
ddanielroche authored and lichunqiang committed Nov 29, 2019
1 parent 54fe1c9 commit 4a6ce56
Show file tree
Hide file tree
Showing 5 changed files with 274 additions and 216 deletions.
18 changes: 15 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
],
"require": {
"yiisoft/yii2": "^2.0.0",
"zircote/swagger-php": "^2.0",
"zircote/swagger-php": "^3.0",
"bower-asset/swagger-ui": "^3.0"
},
"minimum-stability": "dev",
"minimum-stability": "stable",
"autoload": {
"psr-4": {
"light\\swagger\\": "src"
Expand All @@ -25,5 +25,17 @@
"branch-alias": {
"dev-master": "2.0.x-dev"
}
}
},
"config": {
"process-timeout": 1800,
"fxp-asset": {
"enabled": false
}
},
"repositories": [
{
"type": "composer",
"url": "https://asset-packagist.org"
}
]
}
Loading

0 comments on commit 4a6ce56

Please sign in to comment.