code: @Override
      public boolean configure(FeatureContext context) {
  
          Configuration config = context.getConfiguration();
  
          if (PropertiesHelper.isProperty(config.getProperties(), PROPERTY_DISABLE)) {
              return false;
          }
  
          if (!PropertiesHelper.isProperty(config.getProperties(), PROPERTY_CORS_DISABLE)) {
              context.register(SwaggerCorsFilter.class);
          }
  
          if (!config.isRegistered(ApiListingResource.class)) {
              context.register(ApiListingResource.class);
              context.register(SwaggerSerializers.class);
          }
  
          if (ScannerFactory.getScanner() == null) {
              ScannerFactory.setScanner(new DefaultJaxrsScanner());
          }
  
          if (!config.isRegistered(ServletContext.class)) {
              context.register(new SwaggerFeatureBinder());
          }
  
          return true;
      }
docs: {@inheritDoc}