io.github.quafadas.dairect.MessageMetaData.scala Maven / Gradle / Ivy
package io.github.quafadas.dairect
import smithy4s.Hints
import smithy4s.Newtype
import smithy4s.Schema
import smithy4s.ShapeId
import smithy4s.schema.Schema.bijection
import smithy4s.schema.Schema.map
import smithy4s.schema.Schema.string
object MessageMetaData extends Newtype[Map[String, String]] {
val id: ShapeId = ShapeId("io.github.quafadas.dairect", "MessageMetaData")
val hints: Hints = Hints.empty
val underlyingSchema: Schema[Map[String, String]] = map(string, string).withId(id).addHints(hints)
implicit val schema: Schema[MessageMetaData] = bijection(underlyingSchema, asBijection)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy