-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathroutes.php
More file actions
36 lines (35 loc) · 993 Bytes
/
routes.php
File metadata and controls
36 lines (35 loc) · 993 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?php
/**
* @OA\Info(title="project-name", version="1.0.0")
*/
/**
* @OA\Get(
* path="/",
* @OA\Response(response="200", description="Success response",
* @OA\JsonContent(ref="./schemas.yml#/components/schemas/RootSchema"))
* )
*/
/**
* @OA\Get(
* path="/alive",
* @OA\Response(response="200", description="Success response",
* @OA\JsonContent(ref="./schemas.yml#/components/schemas/AliveSchema"))
* )
*/
//get:
//summary: Documentation
// responses:
// 200:
// description: Success response
// content:
// application/json:
// schema: DocumentationSchema
//* @OA\Response(response="200", description="Success response",
// * @OA\JsonContent(ref="./schemas.yml#/components/schemas/DocumentationSchema")
//* ),
/**
* @OA\Get(
* path="/docs",
* @OA\Response(response="200", description="Success response")
* )
*/