generate
fun generate(id: String, serializer: KSerializer<*>, descriptionOverrides: Map<String, String> = emptyMap()): JsonObject(source)
Generate a JSON schema for a serializable class.
Return
A JsonObject representing the JSON schema
Parameters
serializer
The serializer for the class
descriptionOverrides
Optional map of serial class names and property names to descriptions. If a property/type is already described with LLMDescription annotation, value from the map will override this description.