config.setBasePath(swaggerProperties().getBasePath().get());
ScannerFactory.setScanner(new DefaultJaxrsScanner());
ClassReaders.setReader(new DefaultJaxrsApiReader());
//TODO: move to another module?
objectMapper.registerModule(new DefaultScalaModule());
return config;
}