| 1 | <?php |
||
| 19 | class ApiController extends Controller |
||
| 20 | { |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Fetch user details |
||
| 24 | * @SWG\Get( |
||
| 25 | * path="/api/users/{id}", |
||
| 26 | * tags={"users"}, |
||
| 27 | * @SWG\Parameter( |
||
| 28 | * name="id", |
||
| 29 | * in="path", |
||
| 30 | * type="integer", |
||
| 31 | * description="the type of response", |
||
| 32 | * required=true, |
||
| 33 | * default=1 |
||
| 34 | * ), |
||
| 35 | * @SWG\Response(response="200", description="Sends user details") |
||
| 36 | * ) |
||
| 37 | * |
||
| 38 | */ |
||
| 39 | public function usersAction() |
||
| 51 | } |
||
| 52 |