@Override public void run(RipConfiguration configuration, Environment environment) throws Exception { environment.jersey().register(new OrderResource(new OrderService())); environment.healthChecks().register("order resource", new OrderResourceHealthCheck()); swaggerDropwizard.onRun(configuration, environment); }
@Override public void initialize(Bootstrap<RipConfiguration> bootstrap) { swaggerDropwizard.onInitialize(bootstrap); }