title: Swagger examples are not shown on UI
body: <p>Unable to get example field values in swagger UI.</p>
  
  <pre><code>@ApiOperation(value = "Sample API to test swagger doc", response = SampleResponse.class)
      @ApiImplicitParams({
              @ApiImplicitParam(
                      name = "sampleResponse",
                      dataType = "SampleResponse",
                      examples = @io.swagger.annotations.Example(
                              value = {
                                      @ExampleProperty(value = "{'code': '123', 'msg':'message'}", mediaType = "application/json")
                              }))
      })
      @ApiResponses(value = {
              @ApiResponse(code = 200, response = SampleResponse.class, message = "Success", examples = @io.swagger.annotations.Example(
                      value = {
                              @ExampleProperty(value = "{'code': '123', 'message':'success'}", mediaType = "*/*")
                      })),
              @ApiResponse(code = 401, message = "UnAuthorized"),
              @ApiResponse(code = 400, message = "Invalid ID supplied", response = ApiResponse.class,
                      examples = @Example(value =
                              {
                                      @ExampleProperty(mediaType = "application/json", value = "{\"code\" : \"42\", \"message\" : \"Invalid ID supplied\"}")
                              }
                      ))
      })
      @PosMapping(value = "/test", produces = MediaType.APPLICATION_JSON_VALUE)
      public SampleResponse get(@ApiParam(required = true) @RequestBody SampleResponse sampleResponse) {
  </code></pre>
  
  <p>pom.xml</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;io.springfox&lt;/groupId&gt;
      &lt;artifactId&gt;springfox-swagger2&lt;/artifactId&gt;
      &lt;version&gt;2.9.2&lt;/version&gt;
  &lt;/dependency&gt;
  
  &lt;dependency&gt;
      &lt;groupId&gt;io.springfox&lt;/groupId&gt;
      &lt;artifactId&gt;springfox-swagger-ui&lt;/artifactId&gt;
      &lt;version&gt;2.9.2&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>Example defined with annotation @ExampleProperty are missing in UI.
  In below image <strong>swagger UI</strong> example fields are shown with value as its default data type.
  <a href="https://i.stack.imgur.com/HY8n6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HY8n6.png" alt="enter image description here"></a></p>