diff --git a/app/Http/Controllers/ClientApiController.php b/app/Http/Controllers/ClientApiController.php index 918b9c701e..4f6ca6521c 100644 --- a/app/Http/Controllers/ClientApiController.php +++ b/app/Http/Controllers/ClientApiController.php @@ -1,5 +1,6 @@ listResponse($clients); } + /** + * @SWG\Get( + * path="/clients/{client_id}", + * summary="Individual Client", + * tags={"client"}, + * @SWG\Response( + * response=200, + * description="A single client", + * @SWG\Schema(type="object", @SWG\Items(ref="#/definitions/Client")) + * ), + * @SWG\Response( + * response="default", + * description="an ""unexpected"" error" + * ) + * ) + */ + + public function show(ClientRequest $request) + { + return $this->itemResponse($request->entity()); + } + + + + /** * @SWG\Post( * path="/clients",