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
@JsonSubTypes
annotations 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
CustomDefinitionProviderV2
interface for treating enum types as plain strings based on aJsonValue
annotation being present withvalue = true
on exactly one argument-free method and/orJsonProperty
annotations 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
JsonSubTypes
annotation. - FLATTENED_ENUMS_FROM_JSONPROPERTY - com.github.victools.jsonschema.module.jackson.JacksonOption
-
Use this option to treat enum types with a
JsonProperty
annotation 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
JsonValue
annotation 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
BeanDescription
for 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@JsonIdentityInfo
annotation 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@JsonIdentityInfo
annotation on the type itself. - getJsonValueAnnotatedMethod(ResolvedType, SchemaGenerationContext) - Method in class com.github.victools.jsonschema.module.jackson.CustomEnumDefinitionProvider
-
Look-up the single
JsonValue
annotated method withvalue = true
and 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
JsonPropertyOrder
annotation. - 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
JsonNaming
annotation. - 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
JsonProperty
annotation 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
JsonProperty
annotation 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
JsonProperty
annotation. - 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
JsonValue
annotated method withvalue = true
and no expected arguments. - getWriteOnlyCheck(MemberScope<?, ?>) - Method in class com.github.victools.jsonschema.module.jackson.JacksonModule
-
Determine whether the given field's/method's
JsonProperty
annotation 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
JsonNaming
annotations. - IGNORE_TYPE_INFO_TRANSFORM - com.github.victools.jsonschema.module.jackson.JacksonOption
-
Use this option to skip the transformation according to
@JsonTypeInfo
annotations (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
JsonProperty
annotation 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
@JsonSubTypes
annotations 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
CustomDefinitionProviderV2
interface 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
JsonPropertyOrder
annotation 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
JsonSubTypes
annotation. - 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
JsonUnwrapped
annotation. - 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
CustomPropertyDefinitionProvider
interface 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
JsonPropertyOrder
annotations. - 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
JsonPropertyOrder
annotation 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
@JsonSubTypes
annotations.
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