-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
36f427a
commit 45d39b0
Showing
2 changed files
with
89 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
/* | ||
* This file is part of the your app package. | ||
* | ||
* The PHP Application For Code Poem For You. | ||
* (c) 2018-2099 http://yourdomian.com All rights reserved. | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
namespace App\App\Controller\Swagger; | ||
|
||
/** | ||
* 文档汇总. | ||
* | ||
* @author Name Your <[email protected]> | ||
* | ||
* @since 2019.07.31 | ||
* | ||
* @version 1.0 | ||
*/ | ||
class Apis | ||
{ | ||
/** | ||
* 响应. | ||
* | ||
* @return array | ||
*/ | ||
public function handle(): array | ||
{ | ||
return [ | ||
[ | ||
'name' => 'User Api', | ||
'url' => '/swagger/user', | ||
], | ||
[ | ||
'name' => 'QueryPHP API', | ||
'url' => '/swagger', | ||
], | ||
]; | ||
} | ||
} |