@FunctionalInterface public interface AdditionalPropertiesPolicy extends GenericSchemaFeature
additionalProperties. Implementations are expected to be stateless and thread
safe.AdditionalPropertiesPolicies| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
getAdditionalProperties(GenericSchemaFeatureInput input)
Get the appropriate
additionalProperties field based on the input. |
default com.fasterxml.jackson.databind.node.ObjectNode |
getFeatureResult(GenericSchemaFeatureInput input)
Get the add-on result to be merged in with the schema
|
@Nullable com.fasterxml.jackson.databind.JsonNode getAdditionalProperties(@Nonnull GenericSchemaFeatureInput input)
additionalProperties field based on the input. Note that this
method should not modify the original input.default com.fasterxml.jackson.databind.node.ObjectNode getFeatureResult(@Nonnull GenericSchemaFeatureInput input)
GenericSchemaFeaturegetFeatureResult in interface GenericSchemaFeatureCopyright © 2019–2022. All rights reserved.