All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scala.smithy.rules.EndpointTestList.scala Maven / Gradle / Ivy

There is a newer version: 0.0.32
Show newest version
package smithy.rules

import smithy4s.Hints
import smithy4s.Newtype
import smithy4s.Schema
import smithy4s.ShapeId
import smithy4s.schema.Schema.bijection
import smithy4s.schema.Schema.list

/** A list of endpoint rule-set tests.
  * @param member
  *   Describes an endpoint test case for validation of an endpoint rule-set.
  */
object EndpointTestList extends Newtype[List[EndpointTest]] {
  val id: ShapeId = ShapeId("smithy.rules", "EndpointTestList")
  val hints: Hints = Hints(
    smithy.api.Documentation("A list of endpoint rule-set tests."),
    smithy.api.Unstable(),
    smithy.api.Private(),
  )
  val underlyingSchema: Schema[List[EndpointTest]] = list(EndpointTest.schema).withId(id).addHints(hints)
  implicit val schema: Schema[EndpointTestList] = bijection(underlyingSchema, asBijection)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy