code: private static void buildSwagger(String basePath) {
          // This configures Swagger
          BeanConfig beanConfig = new BeanConfig();
          beanConfig.setVersion("1.0.0");
          beanConfig.setResourcePackage(QueryResource.class.getPackage().getName());
          beanConfig.setBasePath(basePath);
          beanConfig.setDescription("Embedded Druid");
          beanConfig.setTitle("Embedded Druid");
          beanConfig.setScan(true);
      }
docs: Builds the Swagger documentation
  
  @param basePath Base path where the resources reside