Package org.springdoc.core.properties
Class SpringDocConfigProperties.ModelConverters
java.lang.Object
org.springdoc.core.properties.SpringDocConfigProperties.ModelConverters
- Enclosing class:
SpringDocConfigProperties
The type Model converters.
- Author:
- bnasslashen
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe type Deprecating converter.static classThe Java nullable property customizer.static classThe Kotlin nullable property customizer.static classThe type Pageable converter.static classThe type Polymorphic model converter. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets deprecating converter.Gets Java nullable property customizer.Gets Kotlin nullable property customizer.Gets pageable converter.Gets polymorphic model converter.voidsetDeprecatingConverter(SpringDocConfigProperties.ModelConverters.DeprecatingConverter deprecatingConverter) Sets deprecating converter.voidsetJavaNullablePropertyCustomizer(SpringDocConfigProperties.ModelConverters.JavaNullablePropertyCustomizer javaNullablePropertyCustomizer) Sets Java nullable property customizer.voidsetKotlinNullablePropertyCustomizer(SpringDocConfigProperties.ModelConverters.KotlinNullablePropertyCustomizer kotlinNullablePropertyCustomizer) Sets Kotlin nullable property customizer.voidsetPageableConverter(SpringDocConfigProperties.ModelConverters.PageableConverter pageableConverter) Sets pageable converter.voidsetPolymorphicConverter(SpringDocConfigProperties.ModelConverters.PolymorphicConverter polymorphicConverter) Sets polymorphic model converter.
-
Constructor Details
-
ModelConverters
public ModelConverters()
-
-
Method Details
-
getDeprecatingConverter
Gets deprecating converter.- Returns:
- the deprecating converter
-
setDeprecatingConverter
public void setDeprecatingConverter(SpringDocConfigProperties.ModelConverters.DeprecatingConverter deprecatingConverter) Sets deprecating converter.- Parameters:
deprecatingConverter- the deprecating converter
-
getPageableConverter
Gets pageable converter.- Returns:
- the pageable converter
-
setPageableConverter
public void setPageableConverter(SpringDocConfigProperties.ModelConverters.PageableConverter pageableConverter) Sets pageable converter.- Parameters:
pageableConverter- the pageable converter
-
getPolymorphicConverter
Gets polymorphic model converter.- Returns:
- the polymorphic model converter
-
setPolymorphicConverter
public void setPolymorphicConverter(SpringDocConfigProperties.ModelConverters.PolymorphicConverter polymorphicConverter) Sets polymorphic model converter.- Parameters:
polymorphicConverter- the polymorphic model converter
-
getKotlinNullablePropertyCustomizer
public SpringDocConfigProperties.ModelConverters.KotlinNullablePropertyCustomizer getKotlinNullablePropertyCustomizer()Gets Kotlin nullable property customizer.- Returns:
- the Kotlin nullable property customizer
-
setKotlinNullablePropertyCustomizer
public void setKotlinNullablePropertyCustomizer(SpringDocConfigProperties.ModelConverters.KotlinNullablePropertyCustomizer kotlinNullablePropertyCustomizer) Sets Kotlin nullable property customizer.- Parameters:
kotlinNullablePropertyCustomizer- the Kotlin nullable property customizer
-
getJavaNullablePropertyCustomizer
public SpringDocConfigProperties.ModelConverters.JavaNullablePropertyCustomizer getJavaNullablePropertyCustomizer()Gets Java nullable property customizer.- Returns:
- the Java nullable property customizer
-
setJavaNullablePropertyCustomizer
public void setJavaNullablePropertyCustomizer(SpringDocConfigProperties.ModelConverters.JavaNullablePropertyCustomizer javaNullablePropertyCustomizer) Sets Java nullable property customizer.- Parameters:
javaNullablePropertyCustomizer- the Java nullable property customizer
-