for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Yiisoft\Swagger\Asset;
use Yiisoft\Assets\AssetBundle;
class SwaggerUiAsset extends AssetBundle
{
public ?string $basePath = '@assets';
public ?string $baseUrl = '@assetsUrl';
public array $css = [
'swagger-ui.css',
];
public array $js = [
'swagger-ui-bundle.js',
'swagger-ui-standalone-preset.js',
public function __construct()
$this->sourcePath = '@vendor/swagger-api/swagger-ui/dist';
}