title: EnableApiKeySupport generates error
body: <p>while trying to Add bearer token using Swashbuckle swagger-document </p>
  
  <p>i got this error in SwaggerConfig.cs
  <strong>swaggeruiconfig does not contain definition for 'EnableApiKeySupport'</strong> </p>
  
  <p><a href="https://i.stack.imgur.com/ZHtUR.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZHtUR.jpg" alt="error"></a></p>
  
  <p>do any body know what may be the reason</p>
  
  <p><strong>Update</strong></p>
  
  <p>this is the entire swagger.config </p>
  
  <pre><code>using System.Web.Http;
  using WebActivatorEx;
  using Swashbuckle.Application;
  
  [assembly: PreApplicationStartMethod(typeof(SwaggerConfig), "Register")]
  
  namespace AppNameSpace
  {
  public class SwaggerConfig
  {
      public static void Register()
      {
          var thisAssembly = typeof(SwaggerConfig).Assembly;
  
          GlobalConfiguration.Configuration
              .EnableSwagger(c =&gt;
                  {
                      c.ApiKey("Token")
                       .Description("Filling bearer token here")
                       .Name("Authorization")
                       .In("header");
  
                      c.SingleApiVersion("v2", "AppNameSpace");
  
                      c.IncludeXmlComments(GetXmlCommentsPath());
  
  
                  })
              .EnableSwaggerUi(c =&gt;
                  {
                      c.EnableApiKeySupport("Authorization", "header");
  
  
                  });
      }
      protected static string GetXmlCommentsPath()
      {
          return System.String.Format(@"{0}\bin\AppNameSpace.XML", System.AppDomain.CurrentDomain.BaseDirectory);
      }
  }
  </code></pre>
  
  <p>}</p>