com.kjetland.jackson.jsonSchema

JsonSchemaGenerator

class JsonSchemaGenerator extends AnyRef

Json Schema Generator

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. JsonSchemaGenerator
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JsonSchemaGenerator(rootObjectMapper: ObjectMapper, config: JsonSchemaConfig)

  2. new JsonSchemaGenerator(rootObjectMapper: ObjectMapper)

  3. new JsonSchemaGenerator(rootObjectMapper: ObjectMapper, debug: Boolean = false, config: JsonSchemaConfig = ...)

    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

  1. case class DefinitionInfo(ref: Option[String], jsonObjectFormatVisitor: Option[JsonObjectFormatVisitor]) extends Product with Serializable

  2. class DefinitionsHandler extends AnyRef

  3. trait EnumSupport extends AnyRef

  4. implicit class JsonNodeExtension extends AnyRef

  5. class MyJsonFormatVisitorWrapper extends JsonFormatVisitorWrapper with MySerializerProvider

  6. trait MySerializerProvider extends AnyRef

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val dateFormatMapping: Map[String, String]

  9. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def generateJsonSchema[T](clazz: Class[T], title: Option[String], description: Option[String]): JsonNode

  13. def generateJsonSchema[T](clazz: Class[T], title: String, description: String): JsonNode

  14. def generateJsonSchema[T](clazz: Class[T]): JsonNode

  15. def generateTitleFromPropertyName(propertyName: String): String

  16. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. val log: Logger

  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. def resolvePropertyFormat(jsonSchemaFormatAnnotation: Option[JsonSchemaFormat], rawClassName: String): Option[String]

  24. def resolvePropertyFormat(prop: BeanProperty): Option[String]

  25. def resolvePropertyFormat(_type: JavaType, objectMapper: ObjectMapper): Option[String]

  26. def resolveType(propertyType: JavaType, prop: Option[BeanProperty], objectMapper: ObjectMapper): JavaType

  27. val rootObjectMapper: ObjectMapper

    pre-configured ObjectMapper

  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  29. def toString(): String

    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped