15 lines
No EOL
240 B
Python
15 lines
No EOL
240 B
Python
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()
|
|
) |