Uses of Class
com.github.victools.jsonschema.generator.FieldScope
Packages that use FieldScope
Package
Description
-
Uses of FieldScope in com.github.victools.jsonschema.generator
Methods in com.github.victools.jsonschema.generator that return FieldScopeModifier and TypeMethodDescriptionFieldScope.asFakeContainerItemScope()TypeContext.createFieldScope(com.fasterxml.classmate.members.ResolvedField field, com.fasterxml.classmate.ResolvedTypeWithMembers declaringTypeMembers) Deprecated.TypeContext.createFieldScope(com.fasterxml.classmate.members.ResolvedField field, MemberScope.DeclarationDetails declarationDetails) Construct aFieldScopeinstance for the given field.MethodScope.findGetterField()Look-up the field associated with this method if it is deemed to be a getter by convention.FieldScope.withOverriddenName(String overriddenName) FieldScope.withOverriddenType(com.fasterxml.classmate.ResolvedType overriddenType) Methods in com.github.victools.jsonschema.generator that return types with arguments of type FieldScopeModifier and TypeMethodDescriptionSchemaGeneratorConfigBuilder.forFields()Get the part of this configuration builder dedicated to custom attribute look-ups for fields.SchemaGeneratorConfig.getFieldAttributeOverrides()Getter for the applicable instance attribute overrides for fields.Methods in com.github.victools.jsonschema.generator with parameters of type FieldScopeModifier and TypeMethodDescriptiontools.jackson.databind.node.ObjectNodeSchemaGenerationContext.createStandardDefinition(FieldScope targetScope, CustomPropertyDefinitionProvider<FieldScope> ignoredDefinitionProvider) Create a standard definition for the given property.tools.jackson.databind.node.ObjectNodeSchemaGenerationContext.createStandardDefinitionReference(FieldScope targetScope, CustomPropertyDefinitionProvider<FieldScope> ignoredDefinitionProvider) Create a standard definition for the given property.booleanSchemaGeneratorConfig.isNullable(FieldScope field) Check whether a field/property is nullable.booleanSchemaGeneratorConfig.isReadOnly(FieldScope field) Check whether a field/property value is deemed read-only, i.e., may be ignored or rejected when included in a request.booleanSchemaGeneratorConfig.isRequired(FieldScope field) Check whether a field/property value is required.booleanSchemaGeneratorConfig.isWriteOnly(FieldScope field) Check whether a field/property value is deemed write-only, i.e., is not being returned in responses.tools.jackson.databind.JsonNodeSchemaGeneratorConfig.resolveAdditionalProperties(FieldScope field, SchemaGenerationContext context) Determine the "additionalProperties" of an object's field/property.SchemaGeneratorConfig.resolveArrayMaxItems(FieldScope field) Determine the "maxItems" of an object's field/property.SchemaGeneratorConfig.resolveArrayMinItems(FieldScope field) Determine the "minItems" of an object's field/property.SchemaGeneratorConfig.resolveArrayUniqueItems(FieldScope field) Determine the "uniqueItems" of an object's field/property.SchemaGeneratorConfig.resolveDefault(FieldScope field) Determine the "default" value of an object's field/property.SchemaGeneratorConfig.resolveDependentRequires(FieldScope field) Determine the "dependentRequired" list of other properties' names, for which a value is required if the given field is present.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.SchemaGeneratorConfig.resolveNumberExclusiveMaximum(FieldScope field) Determine the "exclusiveMaximum" of an object's field/property.SchemaGeneratorConfig.resolveNumberExclusiveMinimum(FieldScope field) Determine the "exclusiveMinimum" of an object's field/property.SchemaGeneratorConfig.resolveNumberInclusiveMaximum(FieldScope field) Determine the "maximum" of an object's field/property.SchemaGeneratorConfig.resolveNumberInclusiveMinimum(FieldScope field) Determine the "minimum" of an object's field/property.SchemaGeneratorConfig.resolveNumberMultipleOf(FieldScope field) Determine the "multipleOf" of an object's field/property.SchemaGeneratorConfig.resolvePatternProperties(FieldScope field, SchemaGenerationContext context) Determine the "patternProperties" of an object's field/property.SchemaGeneratorConfig.resolvePropertyNameOverride(FieldScope field) Determine the alternative name in a parent JSON Schema's "properties" from an object's field/property.SchemaGeneratorConfig.resolveStringFormat(FieldScope field) Determine the "format" of an object's field/property.SchemaGeneratorConfig.resolveStringMaxLength(FieldScope field) Determine the "maxLength" of an object's field/property.SchemaGeneratorConfig.resolveStringMinLength(FieldScope field) Determine the "minLength" of an object's field/property.SchemaGeneratorConfig.resolveStringPattern(FieldScope field) Determine the "pattern" of an object's field/property.default com.fasterxml.classmate.ResolvedTypeSchemaGeneratorConfig.resolveTargetTypeOverride(FieldScope field) Deprecated.List<com.fasterxml.classmate.ResolvedType>SchemaGeneratorConfig.resolveTargetTypeOverrides(FieldScope field) Determine the alternative target types from an object's field/property.SchemaGeneratorConfig.resolveTitle(FieldScope field) Determine the "title" of an object's field/property.booleanSchemaGeneratorConfig.shouldIgnore(FieldScope field) Check whether a field/property should be ignored.Method parameters in com.github.victools.jsonschema.generator with type arguments of type FieldScopeModifier and TypeMethodDescriptiontools.jackson.databind.node.ObjectNodeSchemaGenerationContext.createStandardDefinition(FieldScope targetScope, CustomPropertyDefinitionProvider<FieldScope> ignoredDefinitionProvider) Create a standard definition for the given property.tools.jackson.databind.node.ObjectNodeSchemaGenerationContext.createStandardDefinitionReference(FieldScope targetScope, CustomPropertyDefinitionProvider<FieldScope> ignoredDefinitionProvider) Create a standard definition for the given property.<R> RTypeContext.performActionOnMember(MemberScope<?, ?> member, Function<FieldScope, R> fieldAction, Function<MethodScope, R> methodAction) Helper function to write generic code that targets either aFieldScopeorMethodScope. -
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 FieldScopeMethods in com.github.victools.jsonschema.generator.impl with parameters of type FieldScopeModifier and TypeMethodDescriptionstatic tools.jackson.databind.node.ObjectNodeAttributeCollector.collectFieldAttributes(FieldScope field, SchemaGenerationContext generationContext) Collect a field's contextual attributes (i.e. everything not related to the structure).tools.jackson.databind.node.ObjectNodeSchemaGenerationContextImpl.createStandardDefinition(FieldScope targetScope, CustomPropertyDefinitionProvider<FieldScope> ignoredDefinitionProvider) tools.jackson.databind.node.ObjectNodeSchemaGenerationContextImpl.createStandardDefinitionReference(FieldScope targetScope, CustomPropertyDefinitionProvider<FieldScope> ignoredDefinitionProvider) booleanSchemaGeneratorConfigImpl.isNullable(FieldScope field) booleanSchemaGeneratorConfigImpl.isReadOnly(FieldScope field) booleanSchemaGeneratorConfigImpl.isRequired(FieldScope field) booleanSchemaGeneratorConfigImpl.isWriteOnly(FieldScope field) tools.jackson.databind.JsonNodeSchemaGeneratorConfigImpl.resolveAdditionalProperties(FieldScope field, SchemaGenerationContext context) SchemaGeneratorConfigImpl.resolveArrayMaxItems(FieldScope field) SchemaGeneratorConfigImpl.resolveArrayMinItems(FieldScope field) SchemaGeneratorConfigImpl.resolveArrayUniqueItems(FieldScope field) SchemaGeneratorConfigImpl.resolveDefault(FieldScope field) SchemaGeneratorConfigImpl.resolveDependentRequires(FieldScope field) SchemaGeneratorConfigImpl.resolveDescription(FieldScope field) Collection<?>SchemaGeneratorConfigImpl.resolveEnum(FieldScope field) SchemaGeneratorConfigImpl.resolveNumberExclusiveMaximum(FieldScope field) SchemaGeneratorConfigImpl.resolveNumberExclusiveMinimum(FieldScope field) SchemaGeneratorConfigImpl.resolveNumberInclusiveMaximum(FieldScope field) SchemaGeneratorConfigImpl.resolveNumberInclusiveMinimum(FieldScope field) SchemaGeneratorConfigImpl.resolveNumberMultipleOf(FieldScope field) SchemaGeneratorConfigImpl.resolvePatternProperties(FieldScope field, SchemaGenerationContext context) SchemaGeneratorConfigImpl.resolvePropertyNameOverride(FieldScope field) SchemaGeneratorConfigImpl.resolveStringFormat(FieldScope field) SchemaGeneratorConfigImpl.resolveStringMaxLength(FieldScope field) SchemaGeneratorConfigImpl.resolveStringMinLength(FieldScope field) SchemaGeneratorConfigImpl.resolveStringPattern(FieldScope field) List<com.fasterxml.classmate.ResolvedType>SchemaGeneratorConfigImpl.resolveTargetTypeOverrides(FieldScope field) SchemaGeneratorConfigImpl.resolveTitle(FieldScope field) booleanSchemaGeneratorConfigImpl.shouldIgnore(FieldScope field) Method parameters in com.github.victools.jsonschema.generator.impl with type arguments of type FieldScopeModifier and TypeMethodDescriptiontools.jackson.databind.node.ObjectNodeSchemaGenerationContextImpl.createStandardDefinition(FieldScope targetScope, CustomPropertyDefinitionProvider<FieldScope> ignoredDefinitionProvider) tools.jackson.databind.node.ObjectNodeSchemaGenerationContextImpl.createStandardDefinitionReference(FieldScope targetScope, CustomPropertyDefinitionProvider<FieldScope> ignoredDefinitionProvider) Constructor parameters in com.github.victools.jsonschema.generator.impl with type arguments of type FieldScopeModifierConstructorDescriptionSchemaGeneratorConfigImpl(tools.jackson.databind.ObjectMapper objectMapper, SchemaVersion schemaVersion, Set<Option> enabledOptions, SchemaGeneratorGeneralConfigPart typesInGeneralConfigPart, SchemaGeneratorConfigPart<FieldScope> fieldConfigPart, SchemaGeneratorConfigPart<MethodScope> methodConfigPart, Map<Class<? extends Annotation>, com.fasterxml.classmate.AnnotationInclusion> inclusionOverrides) 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 FieldScopeModifierConstructorDescriptionAdditionalPropertiesModule(ConfigFunction<TypeScope, Type> generalAdditionalPropertiesResolver, BiFunction<FieldScope, SchemaGenerationContext, tools.jackson.databind.JsonNode> fieldAdditionalPropertiesResolver, BiFunction<MethodScope, SchemaGenerationContext, tools.jackson.databind.JsonNode> methodAdditionalPropertiesResolver) Constructor.FieldExclusionModule(Predicate<FieldScope> shouldExcludeFieldsMatching) Constructor setting the underlying check to be set viaSchemaGeneratorConfigPart.withIgnoreCheck(Predicate).
TypeContext.createFieldScope(ResolvedField, MemberScope.DeclarationDetails)instead