DeanWay / fastapi-versioning

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

Add note about FastAPI constructor arguments #8

Closed bunjiboys closed 4 years ago

bunjiboys commented 4 years ago

I just got done trying to figure out why none of my FastAPI middleware's were being loaded and noticed that a new FastAPI object is created by VersionedAPI, but only the title is copied over. This PR updates the README to make this clear, along with a small example based on the existing greet example

DeanWay commented 4 years ago

thanks @bunjiboys