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 ) ; }
Builds the Swagger documentation