io.github.quafadas.dairect.MessageContentList.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api_3 Show documentation
Show all versions of api_3 Show documentation
Open AI API and examples
The newest version!
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.list
object MessageContentList extends Newtype[List[MessageContent]] {
val id: ShapeId = ShapeId("io.github.quafadas.dairect", "MessageContentList")
val hints: Hints = Hints.empty
val underlyingSchema: Schema[List[MessageContent]] = list(MessageContent.schema).withId(id).addHints(hints)
implicit val schema: Schema[MessageContentList] = bijection(underlyingSchema, asBijection)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy