title: Export inherited Interface Docs in C# ASP.Net to Swagger OAS3
body: <p>How can can I export the documentation of inherited interfaces?</p>
  <p>Lets assume two interfaces with comments:</p>
  <pre class="lang-cs prettyprint-override"><code>/// &lt;summary&gt;Interface A&lt;/summary&gt;
  public interface A {
      /// &lt;summary&gt;Attribute A&lt;/summary&gt;
      string AttributeA;
  }
  /// &lt;summary&gt;Interface B&lt;/summary&gt;
  public interface B : A {
      /// &lt;summary&gt;Attribute B&lt;/summary&gt;
      string AttributeB;
  }
  </code></pre>
  <p>I configured swagger within the <code>Startup</code> class as follows:</p>
  <pre class="lang-cs prettyprint-override"><code>services.AddSwaggerGen(c =&gt;
  {
      var xmlFile = $&quot;{Assembly.GetExecutingAssembly().GetName().Name}.xml&quot;;
      var xmlPath = Path.Combine(AppContext.BaseDirectory, xmlFile);
      c.IncludeXmlComments(xmlPath);
  });
  </code></pre>
  <p>My REST web methods always return objects of type <code>B</code>. The problem is that created docs only contain
  the schema description of <code>B</code>. The information <em>Interface A</em> with <em>Attribute A</em> are missing in the schema overview as well as in the example value section.</p>