endpoints4s.algebra.CounterCodec.scala Maven / Gradle / Ivy
package endpoints4s.algebra
trait CounterCodec { this: JsonCodecs =>
case class Counter(value: Int)
implicit def counterCodec: JsonCodec[Counter]
}
package endpoints4s.algebra
trait CounterCodec { this: JsonCodecs =>
case class Counter(value: Int)
implicit def counterCodec: JsonCodec[Counter]
}