Uses of Class
com.github.victools.jsonschema.generator.TypeScope
Packages that use TypeScope
Package
Description
-
Uses of TypeScope in com.github.victools.jsonschema.generator
Classes in com.github.victools.jsonschema.generator with type parameters of type TypeScopeModifier and TypeInterfaceDescriptioninterfaceConfigFunction<S extends TypeScope,R> Functional interface for realising one of various configurations.classSchemaGeneratorTypeConfigPart<S extends TypeScope>Generic collection of reflection based analysis for populating a JSON Schema.Subclasses of TypeScope in com.github.victools.jsonschema.generatorModifier and TypeClassDescriptionclassRepresentation of a single introspected field.classMemberScope<M extends com.fasterxml.classmate.members.ResolvedMember<T>,T extends Member> Representation of a single introspected field or method.classRepresentation of a single introspected method.Methods in com.github.victools.jsonschema.generator with type parameters of type TypeScopeModifier and TypeMethodDescriptionprotected static <S extends TypeScope,R>
RSchemaGeneratorTypeConfigPart.getFirstDefinedValue(List<ConfigFunction<S, R>> resolvers, S scope) Helper function for invoking a given function with the provided inputs or returning null, if all functions return null themselves.protected static <S extends TypeScope,R>
RSchemaGeneratorTypeConfigPart.getFirstDefinedValue(List<BiFunction<S, SchemaGenerationContext, R>> resolvers, S scope, SchemaGenerationContext context) Helper function for invoking a given function with the provided inputs or returning null, if all functions return null themselves.Methods in com.github.victools.jsonschema.generator that return TypeScopeModifier and TypeMethodDescriptionTypeContext.createTypeScope(com.fasterxml.classmate.ResolvedType type) Construct aTypeScopeinstance for the type.Methods in com.github.victools.jsonschema.generator with parameters of type TypeScopeModifier and TypeMethodDescriptiondefault voidTypeAttributeOverride.overrideTypeAttributes(tools.jackson.databind.node.ObjectNode collectedTypeAttributes, TypeScope scope, SchemaGenerationContext context) Deprecated.voidTypeAttributeOverride.overrideTypeAttributes(tools.jackson.databind.node.ObjectNode jsonSchemaTypeNode, TypeScope scope, SchemaGeneratorConfig config) Deprecated.Add/remove attributes on the given JSON Schema node - this is specifically intended for attributes relating to the type in general.voidTypeAttributeOverrideV2.overrideTypeAttributes(tools.jackson.databind.node.ObjectNode collectedTypeAttributes, TypeScope scope, SchemaGenerationContext context) Add/remove attributes on the given JSON Schema node - this is specifically intended for attributes relating to the type in general.tools.jackson.databind.JsonNodeSchemaGeneratorConfig.resolveAdditionalPropertiesForType(TypeScope scope, SchemaGenerationContext context) Determine the "additionalProperties" of a context-independent type representation.SchemaGeneratorGeneralConfigPart.resolveAnchor(TypeScope scope) Determine the "$anchor" of a context-independent type representation.SchemaGeneratorConfig.resolveAnchorForType(TypeScope scope) Determine the "$anchor" of a context-independent type representation.SchemaGeneratorConfig.resolveArrayMaxItemsForType(TypeScope scope) Determine the "maxItems" of a context-independent type representation.SchemaGeneratorConfig.resolveArrayMinItemsForType(TypeScope scope) Determine the "minItems" of a context-independent type representation.SchemaGeneratorConfig.resolveArrayUniqueItemsForType(TypeScope scope) Determine the "uniqueItems" of a context-independent type representation.SchemaGeneratorConfig.resolveDefaultForType(TypeScope scope) Determine the "default" value of a context-independent type representation.SchemaGeneratorConfig.resolveDescriptionForType(TypeScope scope) Determine the "description" of a context-independent type representation.Collection<?>SchemaGeneratorConfig.resolveEnumForType(TypeScope scope) Determine the "enum"/"const" of a context-independent type representation.Determine the "$id" of a context-independent type representation.SchemaGeneratorConfig.resolveIdForType(TypeScope scope) Determine the "$id" of a context-independent type representation.SchemaGeneratorConfig.resolveNumberExclusiveMaximumForType(TypeScope scope) Determine the "exclusiveMaximum" of a context-independent type representation.SchemaGeneratorConfig.resolveNumberExclusiveMinimumForType(TypeScope scope) Determine the "exclusiveMinimum" of a context-independent type representation.SchemaGeneratorConfig.resolveNumberInclusiveMaximumForType(TypeScope scope) Determine the "maximum" of a context-independent type representation.SchemaGeneratorConfig.resolveNumberInclusiveMinimumForType(TypeScope scope) Determine the "minimum" of a context-independent type representation.SchemaGeneratorConfig.resolveNumberMultipleOfForType(TypeScope scope) Determine the "multipleOf" of a context-independent type representation.SchemaGeneratorConfig.resolvePatternPropertiesForType(TypeScope scope, SchemaGenerationContext context) Determine the "patternProperties" of a context-independent type representation.SchemaGeneratorConfig.resolveStringFormatForType(TypeScope scope) Determine the "format" of a context-independent type representation.SchemaGeneratorConfig.resolveStringMaxLengthForType(TypeScope scope) Determine the "maxLength" of a context-independent type representation.SchemaGeneratorConfig.resolveStringMinLengthForType(TypeScope scope) Determine the "minLength" of a context-independent type representation.SchemaGeneratorConfig.resolveStringPatternForType(TypeScope scope) Determine the "pattern" of a context-independent type representation.SchemaGeneratorConfig.resolveTitleForType(TypeScope scope) Determine the "title" of a context-independent type representation.Method parameters in com.github.victools.jsonschema.generator with type arguments of type TypeScopeModifier and TypeMethodDescriptionSchemaGeneratorGeneralConfigPart.withAdditionalPropertiesResolver(ConfigFunction<TypeScope, Type> resolver) SchemaGeneratorGeneralConfigPart.withAdditionalPropertiesResolver(BiFunction<TypeScope, SchemaGenerationContext, tools.jackson.databind.JsonNode> resolver) SchemaGeneratorGeneralConfigPart.withAnchorResolver(ConfigFunction<TypeScope, String> resolver) Setter for "$anchor" resolver.SchemaGeneratorGeneralConfigPart.withArrayMaxItemsResolver(ConfigFunction<TypeScope, Integer> resolver) SchemaGeneratorGeneralConfigPart.withArrayMinItemsResolver(ConfigFunction<TypeScope, Integer> resolver) SchemaGeneratorGeneralConfigPart.withArrayUniqueItemsResolver(ConfigFunction<TypeScope, Boolean> resolver) SchemaGeneratorGeneralConfigPart.withDefaultResolver(ConfigFunction<TypeScope, Object> resolver) SchemaGeneratorGeneralConfigPart.withDescriptionResolver(ConfigFunction<TypeScope, String> resolver) SchemaGeneratorGeneralConfigPart.withEnumResolver(ConfigFunction<TypeScope, Collection<?>> resolver) SchemaGeneratorGeneralConfigPart.withIdResolver(ConfigFunction<TypeScope, String> resolver) Setter for "$id" resolver.SchemaGeneratorGeneralConfigPart.withNumberExclusiveMaximumResolver(ConfigFunction<TypeScope, BigDecimal> resolver) SchemaGeneratorGeneralConfigPart.withNumberExclusiveMinimumResolver(ConfigFunction<TypeScope, BigDecimal> resolver) SchemaGeneratorGeneralConfigPart.withNumberInclusiveMaximumResolver(ConfigFunction<TypeScope, BigDecimal> resolver) SchemaGeneratorGeneralConfigPart.withNumberInclusiveMinimumResolver(ConfigFunction<TypeScope, BigDecimal> resolver) SchemaGeneratorGeneralConfigPart.withNumberMultipleOfResolver(ConfigFunction<TypeScope, BigDecimal> resolver) SchemaGeneratorGeneralConfigPart.withPatternPropertiesResolver(ConfigFunction<TypeScope, Map<String, Type>> resolver) SchemaGeneratorGeneralConfigPart.withPatternPropertiesResolver(BiFunction<TypeScope, SchemaGenerationContext, Map<String, tools.jackson.databind.JsonNode>> resolver) SchemaGeneratorGeneralConfigPart.withStringFormatResolver(ConfigFunction<TypeScope, String> resolver) SchemaGeneratorGeneralConfigPart.withStringMaxLengthResolver(ConfigFunction<TypeScope, Integer> resolver) SchemaGeneratorGeneralConfigPart.withStringMinLengthResolver(ConfigFunction<TypeScope, Integer> resolver) SchemaGeneratorGeneralConfigPart.withStringPatternResolver(ConfigFunction<TypeScope, String> resolver) SchemaGeneratorGeneralConfigPart.withTitleResolver(ConfigFunction<TypeScope, String> resolver) -
Uses of TypeScope in com.github.victools.jsonschema.generator.impl
Methods in com.github.victools.jsonschema.generator.impl with parameters of type TypeScopeModifier and TypeMethodDescriptionstatic tools.jackson.databind.node.ObjectNodeAttributeCollector.collectTypeAttributes(TypeScope scope, SchemaGenerationContext generationContext, Set<String> allowedSchemaTypes) Collect a given scope's general type attributes (i.e. everything not related to the structure).tools.jackson.databind.JsonNodeSchemaGeneratorConfigImpl.resolveAdditionalPropertiesForType(TypeScope scope, SchemaGenerationContext context) SchemaGeneratorConfigImpl.resolveAnchorForType(TypeScope scope) SchemaGeneratorConfigImpl.resolveArrayMaxItemsForType(TypeScope scope) SchemaGeneratorConfigImpl.resolveArrayMinItemsForType(TypeScope scope) SchemaGeneratorConfigImpl.resolveArrayUniqueItemsForType(TypeScope scope) SchemaGeneratorConfigImpl.resolveDefaultForType(TypeScope scope) SchemaGeneratorConfigImpl.resolveDescriptionForType(TypeScope scope) Collection<?>SchemaGeneratorConfigImpl.resolveEnumForType(TypeScope scope) SchemaGeneratorConfigImpl.resolveIdForType(TypeScope scope) SchemaGeneratorConfigImpl.resolveNumberExclusiveMaximumForType(TypeScope scope) SchemaGeneratorConfigImpl.resolveNumberExclusiveMinimumForType(TypeScope scope) SchemaGeneratorConfigImpl.resolveNumberInclusiveMaximumForType(TypeScope scope) SchemaGeneratorConfigImpl.resolveNumberInclusiveMinimumForType(TypeScope scope) SchemaGeneratorConfigImpl.resolveNumberMultipleOfForType(TypeScope scope) SchemaGeneratorConfigImpl.resolvePatternPropertiesForType(TypeScope scope, SchemaGenerationContext context) SchemaGeneratorConfigImpl.resolveStringFormatForType(TypeScope scope) SchemaGeneratorConfigImpl.resolveStringMaxLengthForType(TypeScope scope) SchemaGeneratorConfigImpl.resolveStringMinLengthForType(TypeScope scope) SchemaGeneratorConfigImpl.resolveStringPatternForType(TypeScope scope) SchemaGeneratorConfigImpl.resolveTitleForType(TypeScope scope) -
Uses of TypeScope in com.github.victools.jsonschema.generator.impl.module
Constructor parameters in com.github.victools.jsonschema.generator.impl.module with type arguments of type TypeScopeModifierConstructorDescriptionAdditionalPropertiesModule(ConfigFunction<TypeScope, Type> generalAdditionalPropertiesResolver) Constructor.AdditionalPropertiesModule(ConfigFunction<TypeScope, Type> generalAdditionalPropertiesResolver, BiFunction<FieldScope, SchemaGenerationContext, tools.jackson.databind.JsonNode> fieldAdditionalPropertiesResolver, BiFunction<MethodScope, SchemaGenerationContext, tools.jackson.databind.JsonNode> methodAdditionalPropertiesResolver) Constructor.