title: Swagger UI and CXF No operations defined in spec
body: <p>I am building Spring Boot app with Apache CXF . While trying to add swagger I get No operations defined in spec! error, though I specified via annotations 1-2 opeations. 
  The part of CXF config for Swagger is below:</p>
  
  <pre><code>factory.setFeatures(Collections.singletonList(createSwaggerFeature()));
  
  public Swagger2Feature createSwaggerFeature() {
          Swagger2Feature swagger2Feature = new Swagger2Feature();
          swagger2Feature.setPrettyPrint(true);
          swagger2Feature.setSupportSwaggerUi(true);
          swagger2Feature.setScanAllResources(true);
          swagger2Feature.setHost("localhost:8080");
          swagger2Feature.setBasePath("/cxf/todo_list");
          swagger2Feature.setTitle("TodoList Application");
          swagger2Feature.setContact("https://www.github/abondar24");
          swagger2Feature.setDescription("Another TodoList application with Spring Boot and Swagger");
          swagger2Feature.setVersion("1.0.0");
          return swagger2Feature;
      }
  </code></pre>
  
  <p>I believe feature isn't set correctly.What am I missing?
  The link for api-docs is like this: <a href="http://localhost:8080/cxf/todo_list/api-docs?url=/cxf/todo_list/swagger.json" rel="nofollow noreferrer">http://localhost:8080/cxf/todo_list/api-docs?url=/cxf/todo_list/swagger.json</a></p>
  
  <p>In explore field on UI page: /cxf/todo_list/swagger.json</p>