title: How to document Swagger/Swashbuckle parameter descriptions when using [FromQuery]
body: <p>My api endpoint:</p>
  
  <pre><code>[HttpGet]
  public ActionResult GetSomeData([FromQuery] SomeDataRequest request) {
      return File(returnImage(), "image/png");
  }
  
  public class SomeDataRequest {
    /// &lt;summary&gt;
    /// Description 1
    /// &lt;/summary&gt;
    [Description("description 1")]
    public string foo;
  
    /// &lt;summary&gt;
    /// Description 2
    /// &lt;/summary&gt;
    [Description("description 2")]
    public string bar;
  }
  </code></pre>
  
  <p>When I bring up the Swagger UI, it doesn't show any kind of descriptions for the properties of <code>SomeDataRequest</code>.  </p>
  
  <p>I've placed descriptions in the <code>Description</code> attribute and in the XML comments as suggested by <a href="https://stackoverflow.com/a/42022793/9382">This answer</a>.  Nothing seems to work.</p>
  
  <p>Am I missing something simple?</p>
  
  <p>P.S. It does seem to work in other scenarios when <code>FromQuery</code> isn't used.</p>
  
  <p>P.P.S. Resolved... The problem was that the <code>SomeDataRequest</code> class was in another project and therefore its XML documentation file wasn't being processed by Swashbuckle.</p>