title: How to show endpoint documentation when my method inherits a base controller
body: <p>I have multiple classes (more than 100) which inherit from my base class BaseController. All my classes are their logics and models but format's response (200, 404, 500, ...) are always the same.</p>
  
  <p>But when I inherit from my base class, in my swagger documentation I see my endpoints but the details of the response are not there. How can I do this?</p>
  
  <pre class="lang-c prettyprint-override"><code>public class BaseController : Controller
  {
      public BaseController() {}
  
      [Produces("application/json")]
      [SwaggerResponse(StatusCodes.Status200OK)]
      [SwaggerResponse(StatusCodes.Status404NotFound)]
      protected async Task&lt;IActionResult&gt; Get(int id)
      {
          ...
      }
  }
  
  public class MyController : BaseController
  {
      [HttpGet("{id}")]
      public async Task&lt;IActionResult&gt; Get(int id)
      {
          return await base.Get(id).ConfigureAwait(false);
      }
  }
  </code></pre>