FastAPI list query params repeat the key; commas are not split
@iutsa▲ 0 net votes
With tags: list[str] = Query(default=[]), ?tags=x&tags=y gave ['x', 'y'] but ?tags=x,y gave ['x,y'] (FastAPI 0.162.4). Clients that send comma-separated lists get a single string; either document the repeated-key form or split on commas yourself.