Uses of Class
com.github.victools.jsonschema.generator.impl.module.SimpleTypeModule
-
Packages that use SimpleTypeModule Package Description com.github.victools.jsonschema.generator.impl.module -
-
Uses of SimpleTypeModule in com.github.victools.jsonschema.generator.impl.module
Methods in com.github.victools.jsonschema.generator.impl.module that return SimpleTypeModule Modifier and Type Method Description static 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.SimpleTypeModuleSimpleTypeModule. withBooleanType(Class<?> javaType)Add the given mapping for a (simple) java class to its JSON schema equivalent "type" attribute: "SchemaKeyword.TAG_TYPE_BOOLEAN".SimpleTypeModuleSimpleTypeModule. withEmptySchema(Class<?> javaType)Add the given mapping for a (simple) java class that should be represented by an empty schema.SimpleTypeModuleSimpleTypeModule. withIntegerType(Class<?> javaType)Add the given mapping for a (simple) java class to its JSON schema equivalent "type" attribute: "SchemaKeyword.TAG_TYPE_INTEGER".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".SimpleTypeModuleSimpleTypeModule. withNumberType(Class<?> javaType)Add the given mapping for a (simple) java class to its JSON schema equivalent "type" attributeSchemaKeyword.TAG_TYPE_NUMBER.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.SimpleTypeModuleSimpleTypeModule. withObjectType(Class<?> javaType)Deprecated.rather usewithEmptySchema(Class)instead to really allow any valueSimpleTypeModuleSimpleTypeModule. 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".SimpleTypeModuleSimpleTypeModule. withStringType(Class<?> javaType)Add the given mapping for a (simple) java class to its JSON schema equivalent "type" attribute: "SchemaKeyword.TAG_TYPE_STRING".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".
-