org.http4k.contract.NoRenderer.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.contract
import org.http4k.contract.security.Security
import org.http4k.core.Response
import org.http4k.core.Status.Companion.NOT_FOUND
object NoRenderer : ContractRenderer {
override fun description(
contractRoot: PathSegments,
security: Security?,
routes: List,
tags: Set,
webhooks: Map>
): Response = Response(NOT_FOUND)
}