Annotated와 Pathfrom typing import Annotated, Unionfrom fastapi import FastAPI, Path, Queryapp = FastAPI()@app.get("/items/{item_id}")async def read_items( item_id: Annotated[int, Path(title="The ID of the item to get")], q: Annotated[Union[str, None], Query(alias="item-query")] = None,): results = {"item_id": item_id} if q: results.update({"q": q}) return resultspath parame..