DeanWay / fastapi-versioning

api versioning for fastapi web applications
MIT License
644 stars 63 forks source link

Fix type hint #9

Closed HacKanCuBa closed 4 years ago

HacKanCuBa commented 4 years ago

Hi there! First of all: awesome project, I'm implementing this in my projects soon :D

Now, there's a small typo here in the hint:

https://github.com/DeanWay/fastapi-versioning/blob/f67b68cd8c8578f47a483f96cfb1cece0aa90af0/fastapi_versioning/versioning.py#L18

Should be Tuple[Tuple[int, int], APIRoute]

Can issue a quick PR if needed :)