de.leanovate.swaggercheck.shrinkable.CheckJsBoolean.scala Maven / Gradle / Ivy
package de.leanovate.swaggercheck.shrinkable
import com.fasterxml.jackson.core.JsonGenerator
case class CheckJsBoolean(value: Boolean) extends CheckJsValue {
override def asText(default: String): String = value.toString
override def generate(json: JsonGenerator): Unit = json.writeBoolean(value)
override def shrink: Stream[CheckJsBoolean] = Stream.empty
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy