title: Swagger ReaderListener is never picked up during scanning
body: <p>I implemented a <code>ReaderListener</code> in the same package as my resoure classes for Swagger. However, when the Swagger files are generated, this class is never used. I tried adding <code>swagger.setBasePath("/empty");</code> to <code>afterScan()</code> just to see if it was being called at all, to check if it changed the base path, but it didn't. Any idea on what I need to do to make sure this class is picked up in Swagger's scanning process? BTW, I am building the project with Maven and installing the generated RPMs if that makes a difference.</p>
  
  <pre><code>@io.swagger.annotations.SwaggerDefinition
  public class SwaggerDefinition implements ReaderListener {
      @Override
      public void beforeScan(Reader reader, Scanner scanner) {
      }
  
      @Override
      public void afterScan(Reader reader, Scanner scanner) {
          final Model model = new ModelImpl()
              .name("EntryContainer")
              .type("Object")
              .required("entry")
              .property("entry", new ObjectProperty());
          model.setReference("#/definitions/entry");
          final Model model1 = new ModelImpl()
              .name("Entry")
              .type("Object")
              .property("first_name", new StringProperty())
              .property("last_name", new StringProperty())
              .required("first_name")
              .required("last_name");
          Map&lt;String, Model&gt; defs = new HashMap&lt;&gt;();
          definitions.put("EntryContainer", model);
          definitions.put("Entry", model1);
          swagger.setDefinitions(definitions);
      }
  }
  </code></pre>