Skip to content

Commit

Permalink
refactor: move swagger files to router/apis
Browse files Browse the repository at this point in the history
  • Loading branch information
doyouhaobaby committed Nov 28, 2020
1 parent 32f11b5 commit e246938
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions router/router.php → router/apis/api.php
Expand Up @@ -13,14 +13,14 @@
*/

/**
* 路由.
* API 定义.
*
* - 路由相关主要由路由服务提供者进行设置。
* - 大部分场景只需要使用基于路径的默认路由,不需要配置路由。
* - 其他定制路由都是基于 OpenAPI 的路由。
* - 1.1.0-alpha.2 之前的版本,定制路由都是基于 OpenAPI 的路由,之后采用 PHP 8 注解实现
*
* @see 路由服务提供者 \Common\Infra\ProviderRouter
* @see 基于 OpenAPI 的路由 \App\App\Controller\Petstore\Store
* @see 基于 PHP 8 注解路由 \App\App\Controller\Petstore\Store
*
* @OA\Info(
* description="This is a sample Petstore server. You can find
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit e246938

Please sign in to comment.