title: Generating placeholder abstract class's extended class json schema
body: <p>Facing some problem with Swagger generated Json schema. </p>
  
  <p>I have a one base class which of type abstract class. And two classes extends this base class. And main transfer object object contains abstract class filed so that it will acts as a common placeholder for two types of extended classes</p>
  
  <p>I can achieve this by using Jackson annotations. But Swagger is respecting jackson annotations.</p>
  
  <p>Using Jackson:</p>
  
  <pre><code>@JsonTypeInfo(use=JsonTypeInfo.Id.NAME, include=JsonTypeInfo.As.WRAPPER_OBJECT)
      @JsonSubTypes({@JsonSubTypes.Type(ExtendedClass1.class), @JsonSubTypes.Type(ExtendedClass2.class)})
      private BaseClass baseClass;
  </code></pre>
  
  <p>Swagger just says, need to pass the object of type base class, but I want swagger to construct the json schema with the details of the extended classes and display it.</p>
  
  <p>Swagger json schema looks like:</p>
  
  <pre><code>"baseClass" : "BaseClass"
  </code></pre>
  
  <p>But I want swagger to expand the extended classes also.</p>
  
  <p>Is there any way I can impose swagger to use the jackson annotations?</p>