Some checks failed
Tests / Backend Tests (Python) (3.10) (push) Has been cancelled
Tests / Backend Tests (Python) (3.11) (push) Has been cancelled
Tests / Backend Tests (Python) (3.12) (push) Has been cancelled
Tests / Frontend Tests (JS) (push) Has been cancelled
Tests / Integration Tests (push) Has been cancelled
Tests / All Tests Passed (push) Has been cancelled
15 lines
374 B
Python
15 lines
374 B
Python
from app.factory import create_app
|
|
|
|
app = create_app()
|
|
|
|
print("Registered Routes:")
|
|
for route in app.routes:
|
|
methods = getattr(route, "methods", "N/A")
|
|
print(f"{methods} {route.path}")
|
|
|
|
print("\nAPI Router Routes:")
|
|
from app.routes import api_router
|
|
for route in api_router.routes:
|
|
methods = getattr(route, "methods", "N/A")
|
|
print(f"{methods} {route.path}")
|