title: Remove ProducesResponseType attribute webapi aspnetcore 2.1
body: <p>I m currently doing as below and adding ProducesResponseType attribute in order to produce better api documentation</p>
  
  <pre><code>    [HttpGet(Name=nameof(MyNewMethodAsync)
      [ProducesResponseType(typeof(MyClassResponse), (int)HttpStatusCode.OK)]
      [ProducesResponseType(typeof(MyClassResponse), (int)HttpStatusCode.BadRequest)]
      [ProducesResponseType(typeof(MyClassResponse), (int)HttpStatusCode.NotFound)]
      [SwaggerOperation(nameof(MyNewMethodAsync))]
      public async Task&lt;ActionResult&lt;MyClassResponse&gt;&gt; MyNewMethodAsync([FromQuery] MyClassRequest request)
      {}
  </code></pre>
  
  <p>are we saying that the above could be simplified with no need for ProducesResponseType and equivalent to below:</p>
  
  <pre><code>    [HttpGet(Name=nameof(MyNewMethodAsync)      
      [SwaggerOperation(nameof(MyNewMethodAsync))]
      public async Task&lt;ActionResult&lt;MyClassResponse&gt;&gt; MyNewMethodAsync([FromQuery] MyClassRequest request)
      {}
  </code></pre>
  
  <p>What about if I  wanted to put a better description regarding for each HttpStatusCode</p>
  
  <p>Many thanks</p>