Moved swagger generation to the routes.php file