smithy.api.XmlFlattened.scala Maven / Gradle / Ivy
package smithy.api
import smithy4s.Hints
import smithy4s.Schema
import smithy4s.ShapeId
import smithy4s.ShapeTag
import smithy4s.schema.Schema.constant
/** Unwraps the values of a list, set, or map into the containing
* structure/union.
*/
final case class XmlFlattened()
object XmlFlattened extends ShapeTag.Companion[XmlFlattened] {
val id: ShapeId = ShapeId("smithy.api", "xmlFlattened")
val hints: Hints = Hints(
smithy.api.Documentation("Unwraps the values of a list, set, or map into the containing\nstructure/union."),
smithy.api.Trait(selector = Some(":is(structure, union) > :test(member > :test(list, map))"), structurallyExclusive = None, conflicts = None, breakingChanges = Some(List(smithy.api.TraitDiffRule(change = smithy.api.TraitChangeType.ANY.widen, severity = smithy.api.Severity.ERROR.widen, path = None, message = None)))),
).lazily
implicit val schema: Schema[XmlFlattened] = constant(XmlFlattened()).withId(id).addHints(hints)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy