true, 'port' => (int)env("SWAGGER_PORT", 9500), 'json_dir' => BASE_PATH . '/static/swagger', 'html' => <<<'HTML' SwaggerUI
HTML, 'url' => '/swagger', 'path' =>'/swagger', 'auto_generate' => true, 'scan' => [ 'paths' => [ BASE_PATH . '/app/Controller/Admin' ], ], 'processors' => [ // users can append their own processors here ], 'server' => [ 'http' => [ 'servers' => [ [ 'url' => env('DOMAIN') . '/admin', 'description' => '后台接口', ], ], 'info' => [ 'title' => '里派基础接口', 'description' => '管理端接口', 'version' => '1.0.0', ], ], ], ];