Passed
Push — main ( 79c72a...83dd68 )
by Tan
02:47
created

AppInfo::index()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 0
c 1
b 0
f 1
dl 0
loc 2
rs 10
cc 1
nc 1
nop 0
1
<?php
2
3
namespace CSlant\Blog\Api\OpenApi;
4
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
50
    {
51
    }
52
}
53