title: api version value by default in swagger-ui
body: <p>I have configure swagger in our <a href="https://docs.microsoft.com/en-us/aspnet/core/web-api/?view=aspnetcore-3.0" rel="noreferrer">asp.core wep-api</a> project and its working perfectly fine.Now i am looking into solution when <a href="https://swagger.io/tools/swagger-ui/" rel="noreferrer">swagger-ui</a> appears as shown below</p>
  
  <p><a href="https://imgur.com/a/K7QTKCu" rel="noreferrer">https://imgur.com/a/K7QTKCu</a></p>
  
  <p>the api version part should be fill automatically as per configuration from code side.</p>
  
  <pre><code>        services.AddSwaggerGen(c =&gt;
          {
              c.SwaggerDoc("v1", new Info
              {
                  Version = "v1",
                  Title = "My API",
                  Contact = new Contact
                  {
                      Name = "My Api",
                      Url = "https://109.com/"
                  }
              });
              var security = new Dictionary&lt;string, IEnumerable&lt;string&gt;&gt;
              {
                  {"Bearer", new string[] { }},
              };
              c.AddSecurityDefinition("Bearer", new ApiKeyScheme
              {
                  Description = "JWT Authorization header using the Bearer scheme. Example: \"Authorization: Bearer {token}\"",
                  Name = "Authorization",
                  In = "header",
                  Type = "apiKey"
              });
              c.AddSecurityRequirement(security);
          });
  </code></pre>