@@ -16,10 +16,10 @@ |
||
| 16 | 16 | public function Dummy() |
| 17 | 17 | { |
| 18 | 18 | /** |
| 19 | - * @rest\endpoint /v1/users/{id} |
|
| 20 | - * @rest\method GET Return a JSON with all the user attributes |
|
| 21 | - * @rest\path Int id The ID of the User |
|
| 22 | - * @rest\response 200 User |
|
| 19 | + * @rest\endpoint /v1/users/{id} |
|
| 20 | + * @rest\method GET Return a JSON with all the user attributes |
|
| 21 | + * @rest\path Int id The ID of the User |
|
| 22 | + * @rest\response 200 User |
|
| 23 | 23 | */ |
| 24 | 24 | $app->get('/v1/users/{id:[0-9]+}', function ($request, $response, $args) { |
| 25 | 25 | // ... |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | * @rest\path Int id The ID of the User |
| 22 | 22 | * @rest\response 200 User |
| 23 | 23 | */ |
| 24 | - $app->get('/v1/users/{id:[0-9]+}', function ($request, $response, $args) { |
|
| 24 | + $app->get('/v1/users/{id:[0-9]+}', function($request, $response, $args) { |
|
| 25 | 25 | // ... |
| 26 | 26 | }); |
| 27 | 27 | } |