com.kjetland.jackson.jsonSchema
Use this configuration if using the JsonSchema to generate HTML5 GUI, eg.
Use this configuration if using the JsonSchema to generate HTML5 GUI, eg. by using https://github.com/jdorn/json-editor
autoGenerateTitleForProperties - If property is named "someName", we will add {"title": "Some Name"} defaultArrayFormat - this will result in a better gui than te default one.
This configuration is exactly like the vanilla JSON schema generator, except that "nullables" have been turned on:
useOneOfForOption
and useOneForNullables
have both been set to true
.
This configuration is exactly like the vanilla JSON schema generator, except that "nullables" have been turned on:
useOneOfForOption
and useOneForNullables
have both been set to true
. With this configuration you can either
use Optional
or Option
, or a standard nullable Java type and get back a schema that allows nulls.
If you need to mix nullable and non-nullable types, you may override the nullability of the type by either setting
a NotNull
annotation on the given property, or setting the required
attribute of the JsonProperty
annotation.