title: Springfox Swagger2 - @ApiOperation not working
body: <p>I use springfox-swagger2 for my Spring MVC REST API. Everything works good with swagger but my problem is I cannot add additional information to my swagger documentation.</p>
  
  <p>Maven Dependency:</p>
  
  <pre><code>&lt;!-- Swagger --&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;io.springfox&lt;/groupId&gt;
      &lt;artifactId&gt;springfox-swagger2&lt;/artifactId&gt;
      &lt;version&gt;2.2.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.2.2&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>My Swagger config class:</p>
  
  <pre><code>@Configuration
  @EnableWebMvc
  @EnableSwagger2
  @ComponentScan("path.to.controller.package")
  public class SwaggerConfig {
  
      @Bean
      public Docket customImplementation() {
          return new Docket(DocumentationType.SPRING_WEB).apiInfo(apiInfo());
      }
  
      @Bean
      public UiConfiguration uiConfig() {
  
          return UiConfiguration.DEFAULT;
      }
  
      private ApiInfo apiInfo() {
          ApiInfo apiInfo = new ApiInfo("Service API", "Simple REST Service", "0.0.1",
                  "mail@mail.com", "mail@mail.com", " ", " ");
          return apiInfo;
      }
  }
  </code></pre>
  
  <p>My controller class:</p>
  
  <pre><code>@RestController
  @RequestMapping("/persons")
  public class PersonController {
  
      Logger LOGGER = LoggerFactory.getLogger(PersonController.class);
  
      @RequestMapping(value = "/{id}", method = RequestMethod.GET, headers = "Accept=application/json")
      @ApiOperation(value = "doStuff", response = Person.class)
      @ApiImplicitParams({@ApiImplicitParam(name="Authorization", value="MY DESCRIPTION")})
      public @ResponseBody Person getPerson(@PathVariable String id,
            @RequestHeader(value = "Authorization") String authToken) throws Exception {
  
            //do things and return
      }
  }
  </code></pre>
  
  <p>So, calling the swagger-ui the controller is shown, the method, everything except my additional infos defined in <code>@ApiOperation</code> and <code>@ApiImplicitParams</code>. Does anyone have an idea from where the problem can come from? The params are also not in the JSON file which is created from swagger.</p>