io.federecio.dropwizard.sample.SampleConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dropwizard-swagger Show documentation
Show all versions of dropwizard-swagger Show documentation
A simple way to document your REST APIs in DropWizard using Swagger
package io.federecio.dropwizard.sample;
import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.dropwizard.Configuration;
import io.federecio.dropwizard.swagger.SwaggerBundleConfiguration;
public class SampleConfiguration extends Configuration {
@Valid
@NotNull
private final SwaggerBundleConfiguration swagger = new SwaggerBundleConfiguration();
@JsonProperty("swagger")
public SwaggerBundleConfiguration getSwagger() {
return swagger;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy