I have an a Dropwizard 1.0.6 app running with dropwizard-swagger 3.0. It's initialized thusly:
bootstrap.addBundle(
new SwaggerUIBundle(env -> new AppSwaggerConfiguration(env) {
{
setTitle("TITLE GOES HERE");
setDescription("DESCRIPTION GOES HERE");
// et cetera...
}
}));
When I pull down the API spec (GET /swagger/api/swagger.yaml), the resulting yaml file is missing the info: block where the title & description should be (actually, must be, according to the Swagger spec and online editor).
Am I doing something wrong? I tried checking out the v3.0 sample app to see if it was a problem in my code vs. the dropwizard-swagger module, but couldn't get the sample app working properly (that's logged as a separate issue).
I have an a Dropwizard 1.0.6 app running with dropwizard-swagger 3.0. It's initialized thusly:
When I pull down the API spec (GET /swagger/api/swagger.yaml), the resulting yaml file is missing the info: block where the title & description should be (actually, must be, according to the Swagger spec and online editor).
Am I doing something wrong? I tried checking out the v3.0 sample app to see if it was a problem in my code vs. the dropwizard-swagger module, but couldn't get the sample app working properly (that's logged as a separate issue).