docs: add swagger

This commit is contained in:
2024-08-07 12:51:35 +02:00
parent 82f3ef39c9
commit 332d4b2dce
6 changed files with 402 additions and 1 deletions

22
app/Providers/Swagger.php Normal file
View File

@@ -0,0 +1,22 @@
<?php
declare(strict_types=1);
namespace App\Providers;
use Carbon\Laravel\ServiceProvider;
use L5Swagger\L5SwaggerServiceProvider;
/**
* @OA\Info(
* title="Working Days API",
* version="1.0.0",
* )
*/
class Swagger extends ServiceProvider
{
public function register()
{
$this->app->register(L5SwaggerServiceProvider::class);
}
}