fastapi-versioning
fastapi-versioning copied to clipboard
Add urls with versioning
Is your feature request related to a problem? Please describe. Without versioning:
app = FastAPI(title=TITLE,
servers=[
{"url": "http://localhost:8081", "description": "Dev environment"},
{"url": "https://prod.example.com", "description": "Production environment"},
],
description=DESCRIPTION,
version=VERSION,
contact=CONTACTS,
license_info=LICENSE
)
Describe the solution you'd like
- Add an option to use with versioning ,so in the docs will show the servers section with abover servers list.