title: Including XML comments – Swashbuckle
body: <p>Xml comments not showing up</p>
  
  <p>I'm following the example of:
  <a href="https://github.com/domaindrivendev/Swashbuckle" rel="nofollow noreferrer">https://github.com/domaindrivendev/Swashbuckle</a></p>
  
  <p>My code looks like this:</p>
  
  <pre class="lang-html prettyprint-override"><code>var baseDirectory = System.String.Format(@"{0}bin\", AppDomain.CurrentDomain.BaseDirectory);
  var commentsFileName = Assembly.GetExecutingAssembly().GetName().Name + ".XML";
  var commentsFile = Path.Combine(baseDirectory, commentsFileName);
  c.SingleApiVersion("v1", "Documentação web Api");
  </code></pre>
  
  <p>In my DefaultController
  <a href="https://i.stack.imgur.com/wHjRe.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wHjRe.png" alt="enter image description here"></a></p>
  
  <pre class="lang-html prettyprint-override"><code>[RoutePrefix("api")]
  public class DefaultController : ApiController
  {
      /// &lt;summary&gt;
      /// Register a new user on application
      /// &lt;/summary&gt;
      /// &lt;param name="user"&gt;New user to register&lt;/param&gt;
      /// &lt;remarks&gt;Adds new user to application and grant access&lt;/remarks&gt;
      /// &lt;response code="400"&gt;Bad Request&lt;/response&gt;
      /// &lt;response code="500"&gt;Internal Server Error&lt;/response&gt;
  
      [HttpGet]
      [Route("consulta/BuscaProduto")]
      //localhost:50907/api/consulta/BuscaProduto
      public HttpResponseMessage BuscaProduto()
      {
          try
          {
              var tTabela = new ProdutoAplicacao();
              var listar = tTabela.ListaTodos();
              return Request.CreateResponse(HttpStatusCode.OK, listar, Configuration.Formatters.JsonFormatter);
          }
          catch (Exception ex)
          {
  
              return Request.CreateResponse(HttpStatusCode.BadRequest, ex.Message);
          }
      }
  
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/PnsYL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PnsYL.png" alt="enter image description here"></a></p>