alloy.UrlFormFlattened.scala Maven / Gradle / Ivy
package alloy
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 UrlFormFlattened()
object UrlFormFlattened extends ShapeTag.Companion[UrlFormFlattened] {
val id: ShapeId = ShapeId("alloy", "urlFormFlattened")
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[UrlFormFlattened] = constant(UrlFormFlattened()).withId(id).addHints(hints)
}