Class JsonSchemaUtil
- java.lang.Object
-
- io.github.sashirestela.openai.support.JsonSchemaUtil
-
public class JsonSchemaUtil extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static SchemaConverter
defaultConverter
static String
JSON_EMPTY_CLASS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.fasterxml.jackson.databind.JsonNode
classToJsonSchema(Class<?> clazz)
-
-
-
Field Detail
-
defaultConverter
public static final SchemaConverter defaultConverter
-
JSON_EMPTY_CLASS
public static final String JSON_EMPTY_CLASS
- See Also:
- Constant Field Values
-
-
Method Detail
-
classToJsonSchema
public static com.fasterxml.jackson.databind.JsonNode classToJsonSchema(Class<?> clazz)
-
-