generate
fun generate(id: String, serializer: KSerializer<*>, descriptions: 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
descriptions
Optional map of serial class names and property names to descriptions