api

http4k / org.http4k.contract.openapi / ApiRenderer / Auto

Auto

fun <T : Any, NODE : Any> Auto(json: AutoMarshallingJson<NODE>, schema: JsonSchemaCreator<Any, NODE> = AutoJsonToJsonSchema(json)): ApiRenderer<T, NODE>

ApiRenderer which uses auto-marshalling JSON to create JSON schema for message models.