Class SchemaProcessor
java.lang.Object
org.apache.johnzon.jsonschema.generator.SchemaProcessor
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic classstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected BiPredicate<Type,String> createIgnorePredicate(Class<?> from) protected voidvoidfillSchema(Type rawModel, Schema schema, SchemaProcessor.Cache cache, SchemaProcessor.ReflectionValueExtractor reflectionValueExtractor, SchemaProcessor.Instance instance) protected Optional<Annotation>mapSchemaFromClass(Type model) mapSchemaFromClass(Type model, SchemaProcessor.Cache cache) protected voidonIgnored(Schema schema, Field f, SchemaProcessor.Cache cache)
-
Constructor Details
-
SchemaProcessor
public SchemaProcessor() -
SchemaProcessor
public SchemaProcessor(boolean setClassAsTitle, boolean useReflectionForDefaults)
-
-
Method Details
-
mapSchemaFromClass
-
mapSchemaFromClass
-
fillSchema
public void fillSchema(Type rawModel, Schema schema, SchemaProcessor.Cache cache, SchemaProcessor.ReflectionValueExtractor reflectionValueExtractor, SchemaProcessor.Instance instance) -
fillMeta
-
findDocAnnotation
-
onIgnored
-
createIgnorePredicate
-