6 lines
180 B
Python
6 lines
180 B
Python
|
|
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}")
|