File size: 286 Bytes
66340f1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
from typing import Any

from fastapi import APIRouter

from app.schemas.msg import Msg

router = APIRouter()


@router.get(
    "/hello-world",
    response_model=Msg,
    status_code=200,
    include_in_schema=False,
)
def test_hello_world() -> Any:
    return {"msg": "Hello world!"}