Uses of Class
com.github.victools.jsonschema.generator.impl.module.SimpleTypeModule
Packages that use SimpleTypeModule
-
Uses of SimpleTypeModule in com.github.victools.jsonschema.generator.impl.module
Methods in com.github.victools.jsonschema.generator.impl.module that return SimpleTypeModuleModifier and TypeMethodDescriptionstatic SimpleTypeModuleSimpleTypeModule.forPrimitiveAndAdditionalTypes()Factory method: creating an instance of theSimpleTypeModulecontaining mappings for various primitive types and their non-primitive counterparts (e.g.static SimpleTypeModuleSimpleTypeModule.forPrimitiveTypes()Factory method: creating an instance of theSimpleTypeModulecontaining mappings for various primitive types and their non-primitive counter parts (e.g.final SimpleTypeModuleSimpleTypeModule.withBooleanType(Class<?> javaType) Add the given mapping for a (simple) java class to its JSON schema equivalent "type" attribute: "SchemaKeyword.TAG_TYPE_BOOLEAN".final SimpleTypeModuleSimpleTypeModule.withEmptySchema(Class<?> javaType) Add the given mapping for a (simple) java class that should be represented by an empty schema.final SimpleTypeModuleSimpleTypeModule.withIntegerType(Class<?> javaType) Add the given mapping for a (simple) java class to its JSON schema equivalent "type" attribute: "SchemaKeyword.TAG_TYPE_INTEGER".final SimpleTypeModuleSimpleTypeModule.withIntegerType(Class<?> javaType, String openApiFormat) Add the given mapping for a (simple) java class to its JSON schema equivalent "type" attribute: "SchemaKeyword.TAG_TYPE_INTEGER".final SimpleTypeModuleSimpleTypeModule.withNumberType(Class<?> javaType) Add the given mapping for a (simple) java class to its JSON schema equivalent "type" attributeSchemaKeyword.TAG_TYPE_NUMBER.final SimpleTypeModuleSimpleTypeModule.withNumberType(Class<?> javaType, String openApiFormat) Add the given mapping for a (simple) java class to its JSON schema equivalent "type" attributeSchemaKeyword.TAG_TYPE_NUMBER.final SimpleTypeModuleSimpleTypeModule.withObjectType(Class<?> javaType) Deprecated.final SimpleTypeModuleSimpleTypeModule.withStandardStringType(Class<?> javaType, String standardFormat) Add the given mapping for a (simple) java class to its JSON schema equivalent "type" attribute: "SchemaKeyword.TAG_TYPE_STRING".final SimpleTypeModuleSimpleTypeModule.withStringType(Class<?> javaType) Add the given mapping for a (simple) java class to its JSON schema equivalent "type" attribute: "SchemaKeyword.TAG_TYPE_STRING".final SimpleTypeModuleSimpleTypeModule.withStringType(Class<?> javaType, String openApiFormat) Add the given mapping for a (simple) java class to its JSON schema equivalent "type" attribute: "SchemaKeyword.TAG_TYPE_STRING".
withEmptySchema(Class)instead to really allow any value