I am new in swagger. My requirement is to add server objects in swagger json. Following is a sample servers object:
servers:
- url: https://api.openweathermap.org/data/2.5/
Do we need to configure something to the AddSwaggerGen() in startup.cs file for achieving this?
Or is there any configuration options to set server URL and where we can specify multiple server URLs for different environments?