@FunctionalInterface public interface ExamplesPolicy extends GenericSchemaFeature
examples. Implementations are expected to be stateless and thread safe. Note
that examples is new in draft-06, and it's the implementations' job to be compliant with
the specs.| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
getExamples(GenericSchemaFeatureInput 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 getExamples(@Nonnull GenericSchemaFeatureInput input)
examples JsonNode for the given inputdefault com.fasterxml.jackson.databind.node.ObjectNode getFeatureResult(GenericSchemaFeatureInput input)
GenericSchemaFeaturegetFeatureResult in interface GenericSchemaFeatureCopyright © 2019–2022. All rights reserved.