Search in sources :

Example 1 with SwaggerAssetsBundle

use of io.paradoxical.dropwizard.swagger.SwaggerAssetsBundle in project microservices by pwillhan.

the class ServiceApplication method initialize.

@Override
public void initialize(Bootstrap<ServiceConfiguration> bootstrap) {
    bootstrap.addBundle(new TemplateConfigBundle());
    initializeViews(bootstrap);
    bootstrap.addBundle(new SwaggerAssetsBundle(this::getPublicSwagger));
    initializeDependencyInjection(bootstrap);
}
Also used : TemplateConfigBundle(de.thomaskrille.dropwizard_template_config.TemplateConfigBundle) SwaggerAssetsBundle(io.paradoxical.dropwizard.swagger.SwaggerAssetsBundle)

Aggregations

TemplateConfigBundle (de.thomaskrille.dropwizard_template_config.TemplateConfigBundle)1 SwaggerAssetsBundle (io.paradoxical.dropwizard.swagger.SwaggerAssetsBundle)1