Uses of Class
com.github.victools.jsonschema.generator.SchemaGeneratorGeneralConfigPart
Packages that use SchemaGeneratorGeneralConfigPart
Package
Description
-
Uses of SchemaGeneratorGeneralConfigPart in com.github.victools.jsonschema.generator
Methods in com.github.victools.jsonschema.generator that return SchemaGeneratorGeneralConfigPartModifier and TypeMethodDescriptionSchemaGeneratorConfigBuilder.forTypesInGeneral()Get the part of this configuration builder dedicated to custom attribute look-ups for types in general, independent of the declaration context.SchemaGeneratorGeneralConfigPart.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.withCustomDefinitionProvider(CustomDefinitionProviderV2 definitionProvider) Adding a custom schema provider - if it returns null for a given type, the next definition provider will be applied.SchemaGeneratorGeneralConfigPart.withDefaultResolver(ConfigFunction<TypeScope, Object> resolver) SchemaGeneratorGeneralConfigPart.withDefinitionNamingStrategy(SchemaDefinitionNamingStrategy namingStrategy) Replacing the current naming strategy for keys in the "definitions"/"$defs".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.withPropertySorter(Comparator<MemberScope<?, ?>> propertySorter) Replacing the current sorting algorithm of properties (fields and methods).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.withSubtypeResolver(SubtypeResolver subtypeResolver) Adding a subtype resolver - if it returns null for a given type, the next subtype resolver will be applied.SchemaGeneratorGeneralConfigPart.withTitleResolver(ConfigFunction<TypeScope, String> resolver) SchemaGeneratorGeneralConfigPart.withTypeAttributeOverride(TypeAttributeOverrideV2 override) Adding an override for type attributes - all the registered overrides will be applied in the order of having been added. -
Uses of SchemaGeneratorGeneralConfigPart in com.github.victools.jsonschema.generator.impl
Constructors in com.github.victools.jsonschema.generator.impl with parameters of type SchemaGeneratorGeneralConfigPartModifierConstructorDescriptionSchemaGeneratorConfigImpl(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.