public abstract class SwaggerBundle<T extends io.dropwizard.Configuration> extends Object implements io.dropwizard.ConfiguredBundle<T>
ConfiguredBundle that provides hassle-free configuration of Swagger and Swagger UI
on top of Dropwizard.| Constructor and Description |
|---|
SwaggerBundle() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract SwaggerBundleConfiguration |
getSwaggerBundleConfiguration(T configuration) |
void |
initialize(io.dropwizard.setup.Bootstrap<?> bootstrap) |
void |
run(T configuration,
io.dropwizard.setup.Environment environment) |
public void initialize(io.dropwizard.setup.Bootstrap<?> bootstrap)
initialize in interface io.dropwizard.ConfiguredBundle<T extends io.dropwizard.Configuration>protected abstract SwaggerBundleConfiguration getSwaggerBundleConfiguration(T configuration)
Copyright © 2014–2015. All rights reserved.