DeanWay / fastapi-versioning

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

Additional arguments of FastAPI() not working, such as swagger_ui_parameters or description #72

Open PabloRuizCuevas opened 2 years ago

PabloRuizCuevas commented 2 years ago

Describe the bug Some arguments of FastAPI() won't work

To Reproduce Use argument swagger_ui_parameters={"docExpansion": "none"} and check that it won't work in the versioning, as it won't collapse the tabs.

Expected behavior I expect all arguments of FastAPI() to work.

Additional context I already did a PR with a quick fix. PR #71

PabloRuizCuevas commented 1 year ago

@DeanWay?