Skip to content

Commit

Permalink
Specify the swagger version (#205)
Browse files Browse the repository at this point in the history
* Specify the swagger version
  • Loading branch information
zds-s authored Mar 25, 2024
1 parent 4c33131 commit ef7fa9c
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 9 deletions.
10 changes: 3 additions & 7 deletions CHANGELOG-2.0.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
# v2.0 - TBD

## Added
## v2.0.0-beta.6 - 25 March 2024

- [#136](https://github.com/mineadmin/MineAdmin/pull/136) Improve app store functionality and provide built-in app store visualization plug-ins
### Fixes

## Fixed

- [#134](https://github.com/mineadmin/MineAdmin/pull/134) Repair data migration filling failure due to class not found by file name error
- [#116](https://github.com/mineadmin/MineAdmin/pull/116) Optimize the online user statistics interface.
- [#111](https://github.com/mineadmin/MineAdmin/pull/111) Modify handleSearch conditional check function, as well as adapt primary key support snowflake ID and UUID
- [#205](https://github.com/mineadmin/MineAdmin/pull/205) Specifying swagger component version
7 changes: 7 additions & 0 deletions CHANGELOG-2.0.zh_CN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# v2.0 - TBD

## v2.0.0-beta.6 - 2024年3月25日

### 修复

- [#205](https://github.com/mineadmin/MineAdmin/pull/205) 指定 swagger 组件版本
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"mockery/mockery": "^1.0",
"pestphp/pest": "^2.33",
"phpstan/phpstan": "^1.10",
"swoole/ide-helper": "^5.0"
"swoole/ide-helper": "^5.0",
"zircote/swagger-php": "4.8.0"
},
"suggest": {
"ext-openssl": "Required to use HTTPS.",
Expand Down
2 changes: 1 addition & 1 deletion config/autoload/api_docs.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*/
return [
// enable false 将不会启动 swagger 服务
'enable' => false,
'enable' => true,
'format' => 'json',
'output_dir' => BASE_PATH . '/runtime/swagger',
'prefix_url' => env('API_DOCS_PREFIX_URL', '/swagger'),
Expand Down

0 comments on commit ef7fa9c

Please sign in to comment.