| Total Complexity | 1 |
| Total Lines | 46 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 5 | class AppInfo |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @OA\Info( |
||
| 9 | * description="The API Documentation for CSlant Blog - Build by cslant.com", |
||
| 10 | * version="1.0.0", |
||
| 11 | * title="The API Documentation", |
||
| 12 | * termsOfService="https://swagger.io/terms/", |
||
| 13 | * @OA\Contact( |
||
| 14 | * email="[email protected]", |
||
| 15 | * name="CSlant", |
||
| 16 | * url="https://cslant.com" |
||
| 17 | * ), |
||
| 18 | * @OA\License( |
||
| 19 | * name="Apache 2.0", |
||
| 20 | * url="https://www.apache.org/licenses/LICENSE-2.0.html" |
||
| 21 | * ) |
||
| 22 | * ) |
||
| 23 | * @OA\Schemes( |
||
| 24 | * scheme="http", |
||
| 25 | * scheme="https", |
||
| 26 | * ) |
||
| 27 | * @OA\ExternalDocumentation( |
||
| 28 | * description="Find out more about Swagger", |
||
| 29 | * url="https://swagger.io" |
||
| 30 | * ) |
||
| 31 | * @OA\PathItem( |
||
| 32 | * path="/", |
||
| 33 | * ) |
||
| 34 | * |
||
| 35 | * @OA\Server( |
||
| 36 | * url="/cs-api", |
||
| 37 | * description="The API Base Path" |
||
| 38 | * ) |
||
| 39 | * |
||
| 40 | * @OA\SecurityScheme( |
||
| 41 | * type="http", |
||
| 42 | * description="Authentication by bearer token", |
||
| 43 | * name="bearerAuth", |
||
| 44 | * in="header", |
||
| 45 | * scheme="bearer", |
||
| 46 | * securityScheme="sanctum" |
||
| 47 | * ) |
||
| 48 | */ |
||
| 49 | public function index(): void |
||
| 53 |