Uses of Class
com.github.victools.jsonschema.generator.FieldScope
-
Packages that use FieldScope Package Description com.github.victools.jsonschema.generator com.github.victools.jsonschema.generator.impl com.github.victools.jsonschema.generator.impl.module -
-
Uses of FieldScope in com.github.victools.jsonschema.generator
Methods in com.github.victools.jsonschema.generator that return FieldScope Modifier and Type Method Description FieldScope
TypeContext. createFieldScope(com.fasterxml.classmate.members.ResolvedField field, com.fasterxml.classmate.ResolvedTypeWithMembers declaringTypeMembers)
Construct aFieldScope
instance for the given field.FieldScope
MethodScope. findGetterField()
Look-up the field associated with this method if it is deemed to be a getter by convention.FieldScope
FieldScope. withOverriddenName(String overriddenName)
FieldScope
FieldScope. withOverriddenType(com.fasterxml.classmate.ResolvedType overriddenType)
Methods in com.github.victools.jsonschema.generator that return types with arguments of type FieldScope Modifier and Type Method Description SchemaGeneratorConfigPart<FieldScope>
SchemaGeneratorConfigBuilder. forFields()
Get the part of this configuration builder dedicated to custom attribute look-ups for fields.List<InstanceAttributeOverride<FieldScope>>
SchemaGeneratorConfig. getFieldAttributeOverrides()
Getter for the applicable instance attribute overrides for fields.Methods in com.github.victools.jsonschema.generator with parameters of type FieldScope Modifier and Type Method Description boolean
SchemaGeneratorConfig. isNullable(FieldScope field)
Check whether a field/property is nullable.boolean
SchemaGeneratorConfig. isRequired(FieldScope field)
Check whether a field/property value is required.Type
SchemaGeneratorConfig. resolveAdditionalProperties(FieldScope field)
Determine the "additionalProperties" of an object's field/property.Integer
SchemaGeneratorConfig. resolveArrayMaxItems(FieldScope field)
Determine the "maxItems" of an object's field/property.Integer
SchemaGeneratorConfig. resolveArrayMinItems(FieldScope field)
Determine the "minItems" of an object's field/property.Boolean
SchemaGeneratorConfig. resolveArrayUniqueItems(FieldScope field)
Determine the "uniqueItems" of an object's field/property.Object
SchemaGeneratorConfig. resolveDefault(FieldScope field)
Determine the "default" value of an object's field/property.String
SchemaGeneratorConfig. resolveDescription(FieldScope field)
Determine the "description" of an object's field/property.Collection<?>
SchemaGeneratorConfig. resolveEnum(FieldScope field)
Determine the "enum"/"const" of an object's field/property.BigDecimal
SchemaGeneratorConfig. resolveNumberExclusiveMaximum(FieldScope field)
Determine the "exclusiveMaximum" of an object's field/property.BigDecimal
SchemaGeneratorConfig. resolveNumberExclusiveMinimum(FieldScope field)
Determine the "exclusiveMinimum" of an object's field/property.BigDecimal
SchemaGeneratorConfig. resolveNumberInclusiveMaximum(FieldScope field)
Determine the "maximum" of an object's field/property.BigDecimal
SchemaGeneratorConfig. resolveNumberInclusiveMinimum(FieldScope field)
Determine the "minimum" of an object's field/property.BigDecimal
SchemaGeneratorConfig. resolveNumberMultipleOf(FieldScope field)
Determine the "multipleOf" of an object's field/property.Map<String,Type>
SchemaGeneratorConfig. resolvePatternProperties(FieldScope field)
Determine the "patternProperties" of an object's field/property.String
SchemaGeneratorConfig. resolvePropertyNameOverride(FieldScope field)
Determine the alternative name in a parent JSON Schema's "properties" from an object's field/property.String
SchemaGeneratorConfig. resolveStringFormat(FieldScope field)
Determine the "format" of an object's field/property.Integer
SchemaGeneratorConfig. resolveStringMaxLength(FieldScope field)
Determine the "maxLength" of an object's field/property.Integer
SchemaGeneratorConfig. resolveStringMinLength(FieldScope field)
Determine the "minLength" of an object's field/property.String
SchemaGeneratorConfig. resolveStringPattern(FieldScope field)
Determine the "pattern" of an object's field/property.com.fasterxml.classmate.ResolvedType
SchemaGeneratorConfig. resolveTargetTypeOverride(FieldScope field)
Determine the alternative target type from an object's field/property.String
SchemaGeneratorConfig. resolveTitle(FieldScope field)
Determine the "title" of an object's field/property.boolean
SchemaGeneratorConfig. shouldIgnore(FieldScope field)
Check whether a field/property should be ignored. -
Uses of FieldScope in com.github.victools.jsonschema.generator.impl
Methods in com.github.victools.jsonschema.generator.impl that return types with arguments of type FieldScope Modifier and Type Method Description List<InstanceAttributeOverride<FieldScope>>
SchemaGeneratorConfigImpl. getFieldAttributeOverrides()
Methods in com.github.victools.jsonschema.generator.impl with parameters of type FieldScope Modifier and Type Method Description static com.fasterxml.jackson.databind.node.ObjectNode
AttributeCollector. collectFieldAttributes(FieldScope field, SchemaGenerationContextImpl generationContext)
Collect a field's contextual attributes (i.e.boolean
SchemaGeneratorConfigImpl. isNullable(FieldScope field)
boolean
SchemaGeneratorConfigImpl. isRequired(FieldScope field)
Type
SchemaGeneratorConfigImpl. resolveAdditionalProperties(FieldScope field)
Integer
SchemaGeneratorConfigImpl. resolveArrayMaxItems(FieldScope field)
Integer
SchemaGeneratorConfigImpl. resolveArrayMinItems(FieldScope field)
Boolean
SchemaGeneratorConfigImpl. resolveArrayUniqueItems(FieldScope field)
Object
SchemaGeneratorConfigImpl. resolveDefault(FieldScope field)
String
SchemaGeneratorConfigImpl. resolveDescription(FieldScope field)
Collection<?>
SchemaGeneratorConfigImpl. resolveEnum(FieldScope field)
BigDecimal
SchemaGeneratorConfigImpl. resolveNumberExclusiveMaximum(FieldScope field)
BigDecimal
SchemaGeneratorConfigImpl. resolveNumberExclusiveMinimum(FieldScope field)
BigDecimal
SchemaGeneratorConfigImpl. resolveNumberInclusiveMaximum(FieldScope field)
BigDecimal
SchemaGeneratorConfigImpl. resolveNumberInclusiveMinimum(FieldScope field)
BigDecimal
SchemaGeneratorConfigImpl. resolveNumberMultipleOf(FieldScope field)
Map<String,Type>
SchemaGeneratorConfigImpl. resolvePatternProperties(FieldScope field)
String
SchemaGeneratorConfigImpl. resolvePropertyNameOverride(FieldScope field)
String
SchemaGeneratorConfigImpl. resolveStringFormat(FieldScope field)
Integer
SchemaGeneratorConfigImpl. resolveStringMaxLength(FieldScope field)
Integer
SchemaGeneratorConfigImpl. resolveStringMinLength(FieldScope field)
String
SchemaGeneratorConfigImpl. resolveStringPattern(FieldScope field)
com.fasterxml.classmate.ResolvedType
SchemaGeneratorConfigImpl. resolveTargetTypeOverride(FieldScope field)
String
SchemaGeneratorConfigImpl. resolveTitle(FieldScope field)
boolean
SchemaGeneratorConfigImpl. shouldIgnore(FieldScope field)
Constructor parameters in com.github.victools.jsonschema.generator.impl with type arguments of type FieldScope Constructor Description SchemaGeneratorConfigImpl(com.fasterxml.jackson.databind.ObjectMapper objectMapper, Set<Option> enabledOptions, SchemaGeneratorGeneralConfigPart typesInGeneralConfigPart, SchemaGeneratorConfigPart<FieldScope> fieldConfigPart, SchemaGeneratorConfigPart<MethodScope> methodConfigPart)
Constructor of a configuration instance. -
Uses of FieldScope in com.github.victools.jsonschema.generator.impl.module
Constructor parameters in com.github.victools.jsonschema.generator.impl.module with type arguments of type FieldScope Constructor Description FieldExclusionModule(Predicate<FieldScope> shouldExcludeFieldsMatching)
Constructor setting the underlying check to be set viaSchemaGeneratorConfigPart.withIgnoreCheck(Predicate)
.
-