smithy.api.Unit.scala Maven / Gradle / Ivy
package smithy.api
import smithy4s.Hints
import smithy4s.Schema
import smithy4s.ShapeId
import smithy4s.ShapeTag
import smithy4s.schema.Schema.constant
final case class Unit()
object Unit extends ShapeTag.Companion[Unit] {
val id: ShapeId = ShapeId("smithy.api", "Unit")
val hints: Hints = Hints(
smithy.api.UnitType(),
).lazily
implicit val schema: Schema[Unit] = constant(Unit()).withId(id).addHints(hints)
}