Uses of Class
com.github.victools.jsonschema.generator.impl.DefinitionKey
Packages that use DefinitionKey
Package
Description
-
Uses of DefinitionKey in com.github.victools.jsonschema.generator.impl
Methods in com.github.victools.jsonschema.generator.impl that return DefinitionKeyModifier and TypeMethodDescriptionSchemaGenerationContextImpl.parseType(com.fasterxml.classmate.ResolvedType type) Parse the given (possibly generic) type and populate this context.Methods in com.github.victools.jsonschema.generator.impl that return types with arguments of type DefinitionKeyModifier and TypeMethodDescriptionSchemaGenerationContextImpl.getDefinedTypes()Retrieve the set of all types for which a definition has been remembered in this context.Methods in com.github.victools.jsonschema.generator.impl with parameters of type DefinitionKeyModifier and TypeMethodDescriptiontools.jackson.databind.node.ObjectNodeSchemaGenerationContextImpl.getDefinition(DefinitionKey key) Retrieve the previously added definition for the specified type.List<tools.jackson.databind.node.ObjectNode>SchemaGenerationContextImpl.getNullableReferences(DefinitionKey key) Getter for the nodes representing nullable references to the given type.List<tools.jackson.databind.node.ObjectNode>SchemaGenerationContextImpl.getReferences(DefinitionKey key) Getter for the nodes representing not-nullable references to the given type.booleanSchemaGenerationContextImpl.shouldNeverInlineDefinition(DefinitionKey key) Determine whether the definition for the given type should always be included in theSchemaKeyword.TAG_DEFINITIONS, even if only occurring once. -
Uses of DefinitionKey in com.github.victools.jsonschema.generator.naming
Methods in com.github.victools.jsonschema.generator.naming with parameters of type DefinitionKeyModifier and TypeMethodDescriptionCleanSchemaDefinitionNamingStrategy.adjustNullableName(DefinitionKey key, String definitionName, SchemaGenerationContext generationContext) default StringSchemaDefinitionNamingStrategy.adjustNullableName(DefinitionKey key, String definitionName, SchemaGenerationContext generationContext) Provide an alternative definition name for the given key and name when it is nullable.CleanSchemaDefinitionNamingStrategy.getDefinitionNameForKey(DefinitionKey key, SchemaGenerationContext generationContext) DefaultSchemaDefinitionNamingStrategy.getDefinitionNameForKey(DefinitionKey key, SchemaGenerationContext generationContext) SchemaDefinitionNamingStrategy.getDefinitionNameForKey(DefinitionKey key, SchemaGenerationContext generationContext) Getter for the name/key in the "definitions"/"$defs" to represent the givenDefinitionKey.Method parameters in com.github.victools.jsonschema.generator.naming with type arguments of type DefinitionKeyModifier and TypeMethodDescriptionvoidCleanSchemaDefinitionNamingStrategy.adjustDuplicateNames(Map<DefinitionKey, String> subschemasWithDuplicateNames, SchemaGenerationContext generationContext) default voidSchemaDefinitionNamingStrategy.adjustDuplicateNames(Map<DefinitionKey, String> subschemasWithDuplicateNames, SchemaGenerationContext generationContext) Adjust the names/keys in the "definitions"/"$defs" for the given definition references that have the same names (according toSchemaDefinitionNamingStrategy.getDefinitionNameForKey(DefinitionKey, SchemaGenerationContext)) to ensure their uniqueness.