from main import app for route in app.routes: if hasattr(route, 'methods'): if '/api/v1/manual' in route.path: print(f"{list(route.methods)} {route.path}")