Uses of Class
com.github.victools.jsonschema.generator.TypeScope
-
Packages that use TypeScope Package Description com.github.victools.jsonschema.generator com.github.victools.jsonschema.generator.impl com.github.victools.jsonschema.generator.impl.module -
-
Uses of TypeScope in com.github.victools.jsonschema.generator
Classes in com.github.victools.jsonschema.generator with type parameters of type TypeScope Modifier and Type Interface Description interfaceConfigFunction<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.generator Modifier and Type Class Description classFieldScopeRepresentation 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.classMethodScopeRepresentation of a single introspected method.Methods in com.github.victools.jsonschema.generator with type parameters of type TypeScope Modifier and Type Method Description protected 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 TypeScope Modifier and Type Method Description TypeScopeTypeContext. createTypeScope(com.fasterxml.classmate.ResolvedType type)Construct aTypeScopeinstance for the type.Methods in com.github.victools.jsonschema.generator with parameters of type TypeScope Modifier and Type Method Description default voidTypeAttributeOverride. overrideTypeAttributes(com.fasterxml.jackson.databind.node.ObjectNode collectedTypeAttributes, TypeScope scope, SchemaGenerationContext context)Deprecated.voidTypeAttributeOverride. overrideTypeAttributes(com.fasterxml.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(com.fasterxml.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.com.fasterxml.jackson.databind.JsonNodeSchemaGeneratorConfig. resolveAdditionalPropertiesForType(TypeScope scope, SchemaGenerationContext context)Determine the "additionalProperties" of a context-independent type representation.StringSchemaGeneratorGeneralConfigPart. resolveAnchor(TypeScope scope)Determine the "$anchor" of a context-independent type representation.StringSchemaGeneratorConfig. resolveAnchorForType(TypeScope scope)Determine the "$anchor" of a context-independent type representation.IntegerSchemaGeneratorConfig. resolveArrayMaxItemsForType(TypeScope scope)Determine the "maxItems" of a context-independent type representation.IntegerSchemaGeneratorConfig. resolveArrayMinItemsForType(TypeScope scope)Determine the "minItems" of a context-independent type representation.BooleanSchemaGeneratorConfig. resolveArrayUniqueItemsForType(TypeScope scope)Determine the "uniqueItems" of a context-independent type representation.ObjectSchemaGeneratorConfig. resolveDefaultForType(TypeScope scope)Determine the "default" value of a context-independent type representation.StringSchemaGeneratorConfig. 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.StringSchemaGeneratorGeneralConfigPart. resolveId(TypeScope scope)Determine the "$id" of a context-independent type representation.StringSchemaGeneratorConfig. resolveIdForType(TypeScope scope)Determine the "$id" of a context-independent type representation.BigDecimalSchemaGeneratorConfig. resolveNumberExclusiveMaximumForType(TypeScope scope)Determine the "exclusiveMaximum" of a context-independent type representation.BigDecimalSchemaGeneratorConfig. resolveNumberExclusiveMinimumForType(TypeScope scope)Determine the "exclusiveMinimum" of a context-independent type representation.BigDecimalSchemaGeneratorConfig. resolveNumberInclusiveMaximumForType(TypeScope scope)Determine the "maximum" of a context-independent type representation.BigDecimalSchemaGeneratorConfig. resolveNumberInclusiveMinimumForType(TypeScope scope)Determine the "minimum" of a context-independent type representation.BigDecimalSchemaGeneratorConfig. resolveNumberMultipleOfForType(TypeScope scope)Determine the "multipleOf" of a context-independent type representation.Map<String,com.fasterxml.jackson.databind.JsonNode>SchemaGeneratorConfig. resolvePatternPropertiesForType(TypeScope scope, SchemaGenerationContext context)Determine the "patternProperties" of a context-independent type representation.StringSchemaGeneratorConfig. resolveStringFormatForType(TypeScope scope)Determine the "format" of a context-independent type representation.IntegerSchemaGeneratorConfig. resolveStringMaxLengthForType(TypeScope scope)Determine the "maxLength" of a context-independent type representation.IntegerSchemaGeneratorConfig. resolveStringMinLengthForType(TypeScope scope)Determine the "minLength" of a context-independent type representation.StringSchemaGeneratorConfig. resolveStringPatternForType(TypeScope scope)Determine the "pattern" of a context-independent type representation.StringSchemaGeneratorConfig. resolveTitleForType(TypeScope scope)Determine the "title" of a context-independent type representation. -
Uses of TypeScope in com.github.victools.jsonschema.generator.impl
Methods in com.github.victools.jsonschema.generator.impl with parameters of type TypeScope Modifier and Type Method Description static com.fasterxml.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).com.fasterxml.jackson.databind.JsonNodeSchemaGeneratorConfigImpl. resolveAdditionalPropertiesForType(TypeScope scope, SchemaGenerationContext context)StringSchemaGeneratorConfigImpl. resolveAnchorForType(TypeScope scope)IntegerSchemaGeneratorConfigImpl. resolveArrayMaxItemsForType(TypeScope scope)IntegerSchemaGeneratorConfigImpl. resolveArrayMinItemsForType(TypeScope scope)BooleanSchemaGeneratorConfigImpl. resolveArrayUniqueItemsForType(TypeScope scope)ObjectSchemaGeneratorConfigImpl. resolveDefaultForType(TypeScope scope)StringSchemaGeneratorConfigImpl. resolveDescriptionForType(TypeScope scope)Collection<?>SchemaGeneratorConfigImpl. resolveEnumForType(TypeScope scope)StringSchemaGeneratorConfigImpl. resolveIdForType(TypeScope scope)BigDecimalSchemaGeneratorConfigImpl. resolveNumberExclusiveMaximumForType(TypeScope scope)BigDecimalSchemaGeneratorConfigImpl. resolveNumberExclusiveMinimumForType(TypeScope scope)BigDecimalSchemaGeneratorConfigImpl. resolveNumberInclusiveMaximumForType(TypeScope scope)BigDecimalSchemaGeneratorConfigImpl. resolveNumberInclusiveMinimumForType(TypeScope scope)BigDecimalSchemaGeneratorConfigImpl. resolveNumberMultipleOfForType(TypeScope scope)Map<String,com.fasterxml.jackson.databind.JsonNode>SchemaGeneratorConfigImpl. resolvePatternPropertiesForType(TypeScope scope, SchemaGenerationContext context)StringSchemaGeneratorConfigImpl. resolveStringFormatForType(TypeScope scope)IntegerSchemaGeneratorConfigImpl. resolveStringMaxLengthForType(TypeScope scope)IntegerSchemaGeneratorConfigImpl. resolveStringMinLengthForType(TypeScope scope)StringSchemaGeneratorConfigImpl. resolveStringPatternForType(TypeScope scope)StringSchemaGeneratorConfigImpl. 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 TypeScope Constructor Description AdditionalPropertiesModule(ConfigFunction<TypeScope,Type> generalAdditionalPropertiesResolver)Constructor.AdditionalPropertiesModule(ConfigFunction<TypeScope,Type> generalAdditionalPropertiesResolver, BiFunction<FieldScope,SchemaGenerationContext,com.fasterxml.jackson.databind.JsonNode> fieldAdditionalPropertiesResolver, BiFunction<MethodScope,SchemaGenerationContext,com.fasterxml.jackson.databind.JsonNode> methodAdditionalPropertiesResolver)Constructor.
-