title: How to add "Example Value" to a parameter in Swagger
body: <p>I'm creating a new Rest API with Spring Boot using Swagger to document it and I can't change the Example Value showed on the web. I'm able to change it in the model, but not in the POST parameter.</p>
  
  <p>These are my dependencies:</p>
  
  <pre><code>    &lt;parent&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter-parent&lt;/artifactId&gt;
          &lt;version&gt;2.1.4.RELEASE&lt;/version&gt;
          &lt;relativePath/&gt;
          &lt;!-- lookup parent from repository --&gt;
      &lt;/parent&gt;
  ...
          &lt;swagger.version&gt;2.9.2&lt;/swagger.version&gt;
  ...
          &lt;dependency&gt;
              &lt;groupId&gt;io.springfox&lt;/groupId&gt;
              &lt;artifactId&gt;springfox-swagger2&lt;/artifactId&gt;
              &lt;version&gt;${swagger.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;!-- https://mvnrepository.com/artifact/io.springfox/springfox-swagger-ui --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;io.springfox&lt;/groupId&gt;
              &lt;artifactId&gt;springfox-swagger-ui&lt;/artifactId&gt;
              &lt;version&gt;${swagger.version}&lt;/version&gt;
          &lt;/dependency&gt;
  ...
  </code></pre>
  
  <p>The code that I have is:</p>
  
  <pre><code>    @PostMapping("events")
      @ApiOperation(value = "Get events")
      public ResponseEntity&lt;List&lt;Event&gt;&gt; events(
              @ApiParam(value = "Event type", required = true, example = "sent") final @RequestBody String type) {
          return new ResponseEntity&lt;List&lt;Event&gt;&gt;(getEvents.get(type), HttpStatus.OK);
      }
  </code></pre>
  
  <p>Instead of seeing under example value 'sent', y see 'string'.</p>
  
  <p>This annotation works fine for the Event model, but not here.</p>
  
  <p>What I'm I missing?</p>