title: How to generate different example using same schema for swagger documentation using @ApiModel annotation
body: <p>I want to use <code>Order</code> class schema to show two different examples in Swagger UI. Could you help me what annotations to use here? I am using Spring MVC with Swagger 2.0</p>
  
  <p>Model : </p>
  
  <pre><code>public class Order {
  
      @ApiModelProperty(value = "Order Event", required = true, example = "Pending/Declined/Charged")
      private String event;
  
      private String status;
  
      private String reason;
  }
  </code></pre>
  
  <p>Example 1:</p>
  
  <pre><code>{  
    "event": "PENDING",
    "status": "Approved"   
  }
  </code></pre>
  
  <p>Example 2: </p>
  
  <pre><code>{  
    "event": "DECLINED",
    "status": "denied",
    "reason": "payment error"
  }
  </code></pre>