Interface JsonSchemaPropertyCustomizer
- All Known Implementing Classes:
JacksonSerializers.EnumTranslatingSerializer
public interface JsonSchemaPropertyCustomizer
Callback interface to customize the
JsonSchema.JsonSchemaProperty
created by default for a given type.- Since:
- 2.4
- Author:
- Oliver Gierke
-
Method Summary
Modifier and TypeMethodDescriptioncustomize
(JsonSchema.JsonSchemaProperty property, TypeInformation<?> type) Returns the customizedJsonSchema.JsonSchemaProperty
based on the given one and the given type.
-
Method Details
-
customize
JsonSchema.JsonSchemaProperty customize(JsonSchema.JsonSchemaProperty property, TypeInformation<?> type) Returns the customizedJsonSchema.JsonSchemaProperty
based on the given one and the given type.- Parameters:
property
- will never be null.type
- will never be null.- Returns:
-