class JsonSchemaGenerator extends AnyRef
Json Schema Generator
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- JsonSchemaGenerator
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new JsonSchemaGenerator(rootObjectMapper: ObjectMapper, config: JsonSchemaConfig)
- new JsonSchemaGenerator(rootObjectMapper: ObjectMapper)
- new JsonSchemaGenerator(rootObjectMapper: ObjectMapper, debug: Boolean = false, config: JsonSchemaConfig = JsonSchemaConfig.vanillaJsonSchemaDraft4)
- rootObjectMapper
pre-configured ObjectMapper
- debug
Default = false - set to true if generator should log some debug info while generating the schema
- config
default = vanillaJsonSchemaDraft4. Please use html5EnabledSchema if generating HTML5 GUI, e.g. using https://github.com/jdorn/json-editor
Type Members
- case class DefinitionInfo(ref: Option[String], jsonObjectFormatVisitor: Option[JsonObjectFormatVisitor]) extends Product with Serializable
- class DefinitionsHandler extends AnyRef
- trait EnumSupport extends AnyRef
- implicit class JsonNodeExtension extends AnyRef
- class MyJsonFormatVisitorWrapper extends JsonFormatVisitorWrapper with MySerializerProvider
- trait MySerializerProvider extends AnyRef
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val dateFormatMapping: Map[String, String]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def generateJsonSchema[T](javaType: JavaType, title: Option[String], description: Option[String]): JsonNode
- def generateJsonSchema[T](clazz: Class[T], title: Option[String], description: Option[String]): JsonNode
- def generateJsonSchema[T](javaType: JavaType, title: String, description: String): JsonNode
- def generateJsonSchema[T](clazz: Class[T], title: String, description: String): JsonNode
- def generateJsonSchema[T](javaType: JavaType): JsonNode
- def generateJsonSchema[T](clazz: Class[T]): JsonNode
- def generateTitleFromPropertyName(propertyName: String): String
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val javaxValidationGroups: Array[Class[_]]
- val log: Logger
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def resolvePropertyFormat(jsonSchemaFormatAnnotation: Option[JsonSchemaFormat], rawClassName: String): Option[String]
- def resolvePropertyFormat(prop: BeanProperty): Option[String]
- def resolvePropertyFormat(_type: JavaType, objectMapper: ObjectMapper): Option[String]
- def resolveType(propertyType: JavaType, prop: Option[BeanProperty], objectMapper: ObjectMapper): JavaType
- val rootObjectMapper: ObjectMapper
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()