A C F G I J L P R S V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- ALWAYS_REF_SUBTYPES - com.github.victools.jsonschema.module.jackson.JacksonOption
-
Use this option to ensure all looked-up subtypes according to
@JsonSubTypesannotations are referenced via the central "$defs". - applyToConfigBuilder(SchemaGeneratorConfigBuilder) - Method in class com.github.victools.jsonschema.module.jackson.JacksonModule
C
- com.github.victools.jsonschema.module.jackson - package com.github.victools.jsonschema.module.jackson
- compare(MemberScope<?, ?>, MemberScope<?, ?>) - Method in class com.github.victools.jsonschema.module.jackson.JsonPropertySorter
- CustomEnumDefinitionProvider - Class in com.github.victools.jsonschema.module.jackson
-
Implementation of the
CustomDefinitionProviderV2interface for treating enum types as plain strings based on aJsonValueannotation being present withvalue = trueon exactly one argument-free method and/orJsonPropertyannotations being present on all enum constants. - CustomEnumDefinitionProvider(boolean, boolean) - Constructor for class com.github.victools.jsonschema.module.jackson.CustomEnumDefinitionProvider
-
Constructor indicating how to attempt to serialise enum constant values.
F
- findSubtypes(ResolvedType, SchemaGenerationContext) - Method in class com.github.victools.jsonschema.module.jackson.JsonSubTypesResolver
- findTargetTypeOverrides(MemberScope<?, ?>) - Method in class com.github.victools.jsonschema.module.jackson.JsonSubTypesResolver
-
Look-up applicable subtypes for the given field/method if there is a
JsonSubTypesannotation. - FLATTENED_ENUMS_FROM_JSONPROPERTY - com.github.victools.jsonschema.module.jackson.JacksonOption
-
Use this option to treat enum types with a
JsonPropertyannotation on each of its constants as plain strings in the generated schema. - FLATTENED_ENUMS_FROM_JSONVALUE - com.github.victools.jsonschema.module.jackson.JacksonOption
-
Use this option to treat enum types with a
JsonValueannotation on one of its methods as plain strings in the generated schema.
G
- getBeanDescriptionForClass(ResolvedType) - Method in class com.github.victools.jsonschema.module.jackson.JacksonModule
-
Create a jackson
BeanDescriptionfor the given type's erased class in order to avoid having to re-create the complexity therein. - getIdentityReferenceType(ResolvedType, TypeContext) - Method in class com.github.victools.jsonschema.module.jackson.JsonIdentityReferenceDefinitionProvider
-
If applicable, determine the type of the identity reference that should replace the given actual type, if the
@JsonIdentityReference(alwaysAsId = true)annotation is present as well as a corresponding@JsonIdentityInfoannotation on the type itself. - getIdentityReferenceType(MemberScope<?, ?>) - Method in class com.github.victools.jsonschema.module.jackson.JsonIdentityReferenceDefinitionProvider
-
If applicable, determine the type of the identity reference that should replace the given field/method's type, if the
@JsonIdentityReference(alwaysAsId = true)annotation is present as well as a corresponding@JsonIdentityInfoannotation on the type itself. - getJsonValueAnnotatedMethod(ResolvedType, SchemaGenerationContext) - Method in class com.github.victools.jsonschema.module.jackson.CustomEnumDefinitionProvider
-
Look-up the single
JsonValueannotated method withvalue = trueand no expected arguments. - getPropertyIndex(MemberScope<?, ?>) - Method in class com.github.victools.jsonschema.module.jackson.JsonPropertySorter
-
Determine the given property's position in its declaring type's schema based on a
JsonPropertyOrderannotation. - getPropertyNameOverrideBasedOnJsonNamingAnnotation(FieldScope) - Method in class com.github.victools.jsonschema.module.jackson.JacksonModule
-
Alter the declaring name of the given field as per the declaring type's
JsonNamingannotation. - getPropertyNameOverrideBasedOnJsonPropertyAnnotation(MemberScope<?, ?>) - Method in class com.github.victools.jsonschema.module.jackson.JacksonModule
-
Look-up an alternative name as per the following order of priority.
- getReadOnlyCheck(MemberScope<?, ?>) - Method in class com.github.victools.jsonschema.module.jackson.JacksonModule
-
Determine whether the given field's/method's
JsonPropertyannotation marks it as read-only. - getRequiredCheckBasedOnJsonPropertyAnnotation(MemberScope<?, ?>) - Method in class com.github.victools.jsonschema.module.jackson.JacksonModule
-
Look-up the given field's/method's
JsonPropertyannotation and consider its "required" attribute. - getSerializedValuesFromJsonProperty(ResolvedType, Object[]) - Method in class com.github.victools.jsonschema.module.jackson.CustomEnumDefinitionProvider
-
Check whether the given type is an enum with at least one constant value and each enum constant value has a
JsonPropertyannotation. - getSerializedValuesFromJsonValue(ResolvedType, Object[], SchemaGenerationContext) - Method in class com.github.victools.jsonschema.module.jackson.CustomEnumDefinitionProvider
-
Check whether the given type is an enum with at least one constant value and a single
JsonValueannotated method withvalue = trueand no expected arguments. - getWriteOnlyCheck(MemberScope<?, ?>) - Method in class com.github.victools.jsonschema.module.jackson.JacksonModule
-
Determine whether the given field's/method's
JsonPropertyannotation marks it as write-only.
I
- IGNORE_PROPERTY_NAMING_STRATEGY - com.github.victools.jsonschema.module.jackson.JacksonOption
-
Use this option to skip property name changes according to
JsonNamingannotations. - IGNORE_TYPE_INFO_TRANSFORM - com.github.victools.jsonschema.module.jackson.JacksonOption
-
Use this option to skip the transformation according to
@JsonTypeInfoannotations (typically used to identify specific subtypes). - INCLUDE_ONLY_JSONPROPERTY_ANNOTATED_METHODS - com.github.victools.jsonschema.module.jackson.JacksonOption
-
Use this option to ignore all methods that don't have a
JsonPropertyannotation themselves or in case of getter methods on their associated field. - INLINE_TRANSFORMED_SUBTYPES - com.github.victools.jsonschema.module.jackson.JacksonOption
-
Use this option to ensure all looked-up subtypes according to
@JsonSubTypesannotations are referenced via the central "$defs".
J
- JacksonModule - Class in com.github.victools.jsonschema.module.jackson
-
Module for setting up schema generation aspects based on
jackson-annotations. - JacksonModule() - Constructor for class com.github.victools.jsonschema.module.jackson.JacksonModule
-
Constructor, without any additional options.
- JacksonModule(JacksonOption...) - Constructor for class com.github.victools.jsonschema.module.jackson.JacksonModule
-
Constructor.
- JacksonOption - Enum in com.github.victools.jsonschema.module.jackson
-
Flags to enable/disable certain aspects of the
JacksonModule's processing. - JSONIDENTITY_REFERENCE_ALWAYS_AS_ID - com.github.victools.jsonschema.module.jackson.JacksonOption
-
Use this option to consider
@JsonIdentityReference(alwaysAsId = true)annotations on fields/methods or the type itself. - JsonIdentityReferenceDefinitionProvider - Class in com.github.victools.jsonschema.module.jackson
-
Implementation of the
CustomDefinitionProviderV2interface for handling types with the@JsonIdentityReference(alwaysAsid = true)identityReferenceAnnotation. - JsonIdentityReferenceDefinitionProvider() - Constructor for class com.github.victools.jsonschema.module.jackson.JsonIdentityReferenceDefinitionProvider
- JsonPropertySorter - Class in com.github.victools.jsonschema.module.jackson
-
Implementation of the sorting logic for an object's properties based on a
JsonPropertyOrderannotation on the declaring type. - JsonPropertySorter(boolean) - Constructor for class com.github.victools.jsonschema.module.jackson.JsonPropertySorter
-
Constructor.
- JsonSubTypesResolver - Class in com.github.victools.jsonschema.module.jackson
-
Look-up of subtypes from a
JsonSubTypesannotation. - JsonSubTypesResolver() - Constructor for class com.github.victools.jsonschema.module.jackson.JsonSubTypesResolver
-
Default constructor equivalent to calling
new JsonSubTypesResolver(Collections.emptyList()). - JsonSubTypesResolver(Collection<JacksonOption>) - Constructor for class com.github.victools.jsonschema.module.jackson.JsonSubTypesResolver
-
Constructor expecting list of enabled module options.
- JsonUnwrappedDefinitionProvider - Class in com.github.victools.jsonschema.module.jackson
-
Definition provider handling the integration of properties with the
JsonUnwrappedannotation. - JsonUnwrappedDefinitionProvider() - Constructor for class com.github.victools.jsonschema.module.jackson.JsonUnwrappedDefinitionProvider
L
- lookUpSubtypesFromAnnotation(ResolvedType, JsonSubTypes, TypeContext) - Method in class com.github.victools.jsonschema.module.jackson.JsonSubTypesResolver
-
Mapping the declared erased types from the annotation to resolved types.
P
- provideCustomPropertySchemaDefinition(MemberScope<?, ?>, SchemaGenerationContext) - Method in class com.github.victools.jsonschema.module.jackson.JsonIdentityReferenceDefinitionProvider
-
Implementation of the
CustomPropertyDefinitionProviderinterface that can be used for both fields and methods. - provideCustomPropertySchemaDefinition(MemberScope<?, ?>, SchemaGenerationContext) - Method in class com.github.victools.jsonschema.module.jackson.JsonSubTypesResolver
-
Providing custom schema definition for field/method in case of a per-property override of the applicable subtypes or how they are serialized.
- provideCustomSchemaDefinition(ResolvedType, SchemaGenerationContext) - Method in class com.github.victools.jsonschema.module.jackson.CustomEnumDefinitionProvider
- provideCustomSchemaDefinition(ResolvedType, SchemaGenerationContext) - Method in class com.github.victools.jsonschema.module.jackson.JsonIdentityReferenceDefinitionProvider
- provideCustomSchemaDefinition(ResolvedType, SchemaGenerationContext) - Method in class com.github.victools.jsonschema.module.jackson.JsonSubTypesResolver
- provideCustomSchemaDefinition(ResolvedType, SchemaGenerationContext) - Method in class com.github.victools.jsonschema.module.jackson.JsonUnwrappedDefinitionProvider
R
- resolveDescription(MemberScope<?, ?>) - Method in class com.github.victools.jsonschema.module.jackson.JacksonModule
-
Determine the given member's associated "description" in the following order of priority.
- resolveDescriptionForType(TypeScope) - Method in class com.github.victools.jsonschema.module.jackson.JacksonModule
-
Determine the given type's associated "description" via the following annotation.
- RESPECT_JSONPROPERTY_ORDER - com.github.victools.jsonschema.module.jackson.JacksonOption
-
Use this option to sort an object's properties according to associated
JsonPropertyOrderannotations. - RESPECT_JSONPROPERTY_REQUIRED - com.github.victools.jsonschema.module.jackson.JacksonOption
-
Use this option to include fields annotated with
@JsonProperty(required = true)in the containing type's list of "required" properties.
S
- shouldIgnoreField(FieldScope) - Method in class com.github.victools.jsonschema.module.jackson.JacksonModule
-
Determine whether a given field should be ignored, according to various jackson annotations for that purpose,
e.g. - shouldIgnoreMethod(MethodScope) - Method in class com.github.victools.jsonschema.module.jackson.JacksonModule
-
Determine whether a given method should be ignored, according to various jackson annotations for that purpose,
e.g. - shouldSortPropertiesAlphabetically(Class<?>) - Method in class com.github.victools.jsonschema.module.jackson.JsonPropertySorter
-
Determine whether the given type's properties that are not specifically mentioned in a
JsonPropertyOrderannotation should be sorted alphabetically, based onJsonPropertyOrder.alphabetic(). - SKIP_SUBTYPE_LOOKUP - com.github.victools.jsonschema.module.jackson.JacksonOption
-
Use this option to skip the automatic look-up of subtypes according to
@JsonSubTypesannotations.
V
- valueOf(String) - Static method in enum com.github.victools.jsonschema.module.jackson.JacksonOption
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.github.victools.jsonschema.module.jackson.JacksonOption
-
Returns an array containing the constants of this enum type, in the order they are declared.
All Classes All Packages