title: Swagger UI Response Example Asp.Net Core Web Api
body: <p>I'm using Swagger.AspNetCore to document my api. So far i was happy to use xml comments to generate response model examples until i reach the point when i've got to document embeded object.<br><br> So i have simple model:</p>
  <pre><code>public class SummaryResult
  {
      /// &lt;summary&gt;Total Cost.&lt;/summary&gt;
      /// &lt;value&gt;Total Cost.&lt;/value&gt;
      /// &lt;example&gt;6433.2&lt;/example&gt;
      public double TotalCost { get; set; }
  
      /// &lt;summary&gt;Owner.&lt;/summary&gt;
      public Owner Owner { get; set; }
  }
  
  public class Owner
  {
      /// &lt;summary&gt;Owner Name.&lt;/summary&gt;
      /// &lt;value&gt;Owner Name.&lt;/value&gt;
      /// &lt;example&gt;Michael&lt;/example&gt;
      public string Name { get; set; }
  }
  </code></pre>
  <p>And Swagger UI document it only for TotalCost, Owner property just skipped whatever i do. Does anyone have a clue why this can happen? And how to fix it.<br>
  I know how to deal with List - just put on top xml comment like <code>&lt;list&gt;&lt;/list&gt;</code> but it's not my case.<br><br>
  Thank you</p>