title: How to make Swagger recognize @XmlTransient (e.g. not ignore it)
body: <p>It seems <code>Swagger</code> ignores <code>JAXB</code> annotations such as <code>@XmlTransient</code></p>
  
  <p>In addition Swagger seems to parse getters as well, ignoring <code>@XmlAccessorType(XmlAccessType.FIELD)</code></p>
  
  <p>is there a way to specify to <code>Swagger</code> to respect <code>JAXB</code> annotations?</p>
  
  <p><em>UPDATE</em></p>
  
  <p>code example</p>
  
  <pre><code>import javax.xml.bind.annotation.XmlRootElement;
  import javax.xml.bind.annotation.XmlAccessType;
  import javax.xml.bind.annotation.XmlAccessorType;
  import javax.xml.bind.annotation.XmlElement;
  import javax.xml.bind.annotation.XmlTransient;
  
  import com.wordnik.swagger.annotations.ApiModel;
  import com.wordnik.swagger.annotations.ApiModelProperty;
  
      @XmlRootElement
      @XmlAccessorType(XmlAccessType.FIELD)
      @ApiModel( value = "aaa")
      public class A implements IA
      {
          @ApiModelProperty( value = "bla", required = true )
          @XmlElement(name="a")
          private String a;
  
          @XmlTransient 
          private B b;
  
           private A() {}//JAXB
  
           @XmlTransient
           public boolean isC() { return true;};
  }
  </code></pre>
  
  <p>interface IA has no annotations. and no getters to field b that might interfere.</p>
  
  <p>swagger generated JSON is:</p>
  
  <pre><code>"A": {
        "id": "A",
        "description": "aaa",
        "properties": {
          "c": {
            "type": "boolean"
          }
        }
      }
  </code></pre>
  
  <p>As seen Swagger ignore the fields and <code>@XMLAccesorType</code> (as noted by Webron in his answer)
  But also ignores JAXB annotation (<code>@XmlTransient</code>) on the <code>isC()</code> getter function</p>