org.http4k.util.JsonSchemaCreator.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of http4k-contract Show documentation
Show all versions of http4k-contract Show documentation
http4k typesafe HTTP contracts and OpenApi support
package org.http4k.util
interface JsonSchemaCreator {
fun toSchema(obj: IN, overrideDefinitionId: String? = null, refModelNamePrefix: String? = null): JsonSchema
}
data class JsonSchema(val node: NODE, val definitions: Set> = emptySet())
class IllegalSchemaException(message: String) : RuntimeException(message)