Package springfox.documentation.builders
Class AlternateTypeBuilder
- java.lang.Object
-
- springfox.documentation.builders.AlternateTypeBuilder
-
public class AlternateTypeBuilder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AlternateTypeBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AlternateTypeBuilder
annotations(java.util.List<java.lang.annotation.Annotation> annotations)
java.lang.Class<?>
build()
AlternateTypeBuilder
fullyQualifiedClassName(java.lang.String fullyQualifiedClassName)
AlternateTypeBuilder
property(java.util.function.Consumer<AlternateTypePropertyBuilder> property)
AlternateTypeBuilder
property(AlternateTypePropertyBuilder property)
Deprecated.AlternateTypeBuilder
withAnnotations(java.util.List<java.lang.annotation.Annotation> annotations)
Deprecated.AlternateTypeBuilder
withProperties(java.util.List<AlternateTypePropertyBuilder> properties)
Deprecated.
-
-
-
Method Detail
-
fullyQualifiedClassName
public AlternateTypeBuilder fullyQualifiedClassName(java.lang.String fullyQualifiedClassName)
-
property
@Deprecated public AlternateTypeBuilder property(AlternateTypePropertyBuilder property)
Deprecated.- Parameters:
property
- - properties for the alternate type- Returns:
- AlternateTypeBuilder
- Since:
- 3.0.0
- See Also:
instead
-
property
public AlternateTypeBuilder property(@NonNull java.util.function.Consumer<AlternateTypePropertyBuilder> property)
-
annotations
public AlternateTypeBuilder annotations(java.util.List<java.lang.annotation.Annotation> annotations)
-
withProperties
@Deprecated public AlternateTypeBuilder withProperties(java.util.List<AlternateTypePropertyBuilder> properties)
Deprecated.- Parameters:
properties
- - properties for the alternate type- Returns:
- AlternateTypeBuilder
- Since:
- 3.0.0
- See Also:
instead
-
withAnnotations
@Deprecated public AlternateTypeBuilder withAnnotations(java.util.List<java.lang.annotation.Annotation> annotations)
Deprecated.- Parameters:
annotations
- - annotations- Returns:
- - AlternateTypeBuilder
- Since:
- 3.0.0
- See Also:
instead
-
build
public java.lang.Class<?> build()
-
-