Previously used `param: int = Path()` this worked but was incorrect. Correct usage is `param: Annotated[int, Path()]` |
||
|---|---|---|
| .. | ||
| config.py | ||
| constants.py | ||
| dependencies.py | ||
| exceptions.py | ||
| models.py | ||
| router.py | ||
| schemas.py | ||
| service.py | ||
| utils.py | ||
Previously used `param: int = Path()` this worked but was incorrect. Correct usage is `param: Annotated[int, Path()]` |
||
|---|---|---|
| .. | ||
| config.py | ||
| constants.py | ||
| dependencies.py | ||
| exceptions.py | ||
| models.py | ||
| router.py | ||
| schemas.py | ||
| service.py | ||
| utils.py | ||