Class JsonSchemaElementHelper
-
- All Implemented Interfaces:
public class JsonSchemaElementHelper
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
JsonSchemaElementHelper.VisitedClassMetadata
-
Constructor Summary
Constructors Constructor Description JsonSchemaElementHelper()
-
Method Summary
Modifier and Type Method Description static JsonSchemaElement
jsonSchemaElementFrom(Class<out Object> clazz)
static JsonSchemaElement
jsonSchemaElementFrom(Class<out Object> clazz, Type type, String fieldDescription, Map<Class<out Object>, JsonSchemaElementHelper.VisitedClassMetadata> visited)
static JsonSchemaElement
jsonObjectOrReferenceSchemaFrom(Class<out Object> type, String description, Map<Class<out Object>, JsonSchemaElementHelper.VisitedClassMetadata> visited, boolean setDefinitions)
static Map<String, Map<String, Object>>
toMap(Map<String, JsonSchemaElement> properties)
static Map<String, Map<String, Object>>
toMap(Map<String, JsonSchemaElement> properties, boolean strict)
static Map<String, Object>
toMap(JsonSchemaElement jsonSchemaElement)
static Map<String, Object>
toMap(JsonSchemaElement jsonSchemaElement, boolean strict)
-
-
Method Detail
-
jsonSchemaElementFrom
static JsonSchemaElement jsonSchemaElementFrom(Class<out Object> clazz)
-
jsonSchemaElementFrom
static JsonSchemaElement jsonSchemaElementFrom(Class<out Object> clazz, Type type, String fieldDescription, Map<Class<out Object>, JsonSchemaElementHelper.VisitedClassMetadata> visited)
-
jsonObjectOrReferenceSchemaFrom
static JsonSchemaElement jsonObjectOrReferenceSchemaFrom(Class<out Object> type, String description, Map<Class<out Object>, JsonSchemaElementHelper.VisitedClassMetadata> visited, boolean setDefinitions)
-
toMap
static Map<String, Map<String, Object>> toMap(Map<String, JsonSchemaElement> properties, boolean strict)
-
toMap
static Map<String, Object> toMap(JsonSchemaElement jsonSchemaElement)
-
toMap
static Map<String, Object> toMap(JsonSchemaElement jsonSchemaElement, boolean strict)
-
-
-
-