public static interface CustomConfigurationProviders.SwaggerTitleBuilder<C extends io.dropwizard.Configuration>
Modifier and Type | Method and Description |
---|---|
PlatformBundleBuilder<C> |
withoutSwagger()
Deprecated.
If you want to use the
OpenApiBundle , use the sda-commons-starter
module instead. You will get dependency conflicts when importing both sda-commons-server-starter and sda-commons-server-openapi . |
CustomConfigurationProviders.SwaggerDetailsBuilder<C> |
withSwaggerInfoTitle(java.lang.String title)
Sets the title of the API in the swagger documentation.
|
@Deprecated PlatformBundleBuilder<C> withoutSwagger()
OpenApiBundle
, use the sda-commons-starter
module instead. You will get dependency conflicts when importing both sda-commons-server-starter
and sda-commons-server-openapi
.SwaggerBundle
should be configured manually of if the
OpenApiBundle is used instead.CustomConfigurationProviders.SwaggerDetailsBuilder<C> withSwaggerInfoTitle(java.lang.String title)
title
- the title; not null or emptyjava.lang.NullPointerException
- if title is nulljava.lang.IllegalArgumentException
- if title is empty