/** * List All Servers * * Lists all servers currently on the system. * * @Get("/servers/{?page}") * @Versions({"v1"}) * @Parameters({ * @Parameter("page", type="integer", description="The page of results to view.", default=1) * }) * @Response(200) */ public function list(Request $request) { $servers = Models\Server::paginate(50); return $this->response->paginator($servers, new ServerTransformer()); }