title: Swagger definition not displaying as expected
body: <p>I have the following piece of code and swagger is not showing up the way i expect on swagger ui. I'm using annotations to build the swagger definition. I tried using @API and @JsonIgnore. Both did not work for me.</p>
  
  <pre><code>import com.fasterxml.jackson.databind.JsonNode;
  import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
  import io.swagger.annotations.Api;
  
  
  @JacksonXmlRootElement(localName = "traction")
  @Api(hidden = true)
  public class Traction
  {
    private JsonNode traction;
  
    public JsonNode getTraction()
    {
      return traction;
    }
  
    public void setTraction(final JsonNode traction)
    {
      this.traction = traction;
    }
  
  }
  </code></pre>
  
  <p>Swagger definition gets displayed as follows - </p>
  
  <pre><code>"tractionParent": {
      "traction": {
        "array": false,
        "null": false,
        "float": false,
        "containerNode": false,
        "missingNode": false,
        "nodeType": "ARRAY",
        "valueNode": false,
        "object": false,
        "pojo": false,
        "number": false,
        "integralNumber": false,
        "short": false,
        "int": false,
        "long": false,
        "double": false,
        "bigDecimal": false,
        "bigInteger": false,
        "textual": false,
        "boolean": false,
        "binary": false,
        "floatingPointNumber": false
      }
    }
  </code></pre>
  
  <p>I need it to show up as </p>
  
  <pre><code>"tractionParent": {
      "traction": {
       }
   }
  </code></pre>