title: ASP.NET Core 2.2 - [assembly: ApiConventionType(typeof(DefaultApiConventions))] doesnt make warnings go away
body: <ol>
  <li><p>Installed the package for <code>Microsoft.AspNetCore.Mvc.Api.Analyzer</code></p></li>
  <li><p>Added <code>[assembly: ApiConventionType(typeof(DefaultApiConventions))]</code> to top of my controller namespace</p></li>
  <li><p>still get warnings without individually specifying <code>ProducesResponseType</code></p></li>
  </ol>
  
  <p><a href="https://i.stack.imgur.com/rlW4D.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rlW4D.png" alt="enter image description here"></a></p>
  
  <p>EDIT: only works if i put it directly on the method, also tried 3.0 preview version of the package, same problem, also tried on a different machine with vs 2017 enterprise and same problem.</p>
  
  <p>Logged a bug with ms <a href="https://stackoverflow.com/questions/53857321/asp-net-core-2-2-assembly-apiconventiontypetypeofdefaultapiconventions">ASP.NET Core 2.2 - [assembly: ApiConventionType(typeof(DefaultApiConventions))] doesnt make warnings go away</a></p>
  
  <pre><code>    [ApiConventionMethod(typeof(DefaultApiConventions), nameof(DefaultApiConventions.Get))]
      [HttpGet]
      public ActionResult&lt;IEnumerable&lt;string&gt;&gt; Get()
      {
          return BadRequest();
      }
  </code></pre>