from fastapi import APIRouter from app.logic.example_logic import get_example_message router = APIRouter( prefix="/example", tags=["Example"] ) @router.get("/") def get_example(): return( get_example_message() )