Companion

Properties

Link copied to clipboard

A default instance of the SerializationClassJsonSchemaGenerator class, preconfigured with the default settings defined in JsonSchemaConfig.Default.

Functions

Link copied to clipboard
inline fun <T> jsonSchemaOf(generator: SerializationClassJsonSchemaGenerator = SerializationClassJsonSchemaGenerator.Default): JsonSchema

Generates a JSON Schema for the given @Serializable type T, using the provided generator.