fastapi-versioning icon indicating copy to clipboard operation
fastapi-versioning copied to clipboard

Add urls with versioning

Open tommy04062019 opened this issue 4 years ago • 0 comments

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.

tommy04062019 avatar Oct 22 '21 18:10 tommy04062019