api

http4k / org.http4k.contract.openapi / cached

cached

fun <API : Any, NODE : Any> ApiRenderer<API, NODE>.cached(): ApiRenderer<API, NODE>

Cache the result of the API render, in case it is expensive to calculate.