SchemaVisitorMetadataWriter

smithy4s.http.internals.SchemaVisitorMetadataWriter
class SchemaVisitorMetadataWriter(val cache: CompilationCache[MetaEncode], commaDelimitedEncoding: Boolean) extends Cached[MetaEncode]

This schema visitor works on data that is annotated with :

  • smithy.api.httpLabel
  • smithy.api.httpHeader
  • smithy.api.httpPrefixHeaders
  • smithy.api.httpQuery
  • smithy.api.httpQueryParams

As such, assumptions are made using the information of what types can be annotated in the smithy specs.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Show all
Self type

Members list

Value members

Concrete methods

override def biject[A, B](schema: Schema[A], bijection: Bijection[A, B]): MetaEncode[B]

Attributes

Definition Classes
override def collection[C[_], A](shapeId: ShapeId, hints: Hints, tag: CollectionTag[C], member: Schema[A]): MetaEncode[C[A]]

Attributes

Definition Classes
override def enumeration[E](shapeId: ShapeId, hints: Hints, tag: EnumTag[E], values: List[EnumValue[E]], total: E => EnumValue[E]): MetaEncode[E]

Attributes

Definition Classes
override def lazily[A](suspend: Lazy[Schema[A]]): MetaEncode[A]

Attributes

Definition Classes
override def map[K, V](shapeId: ShapeId, hints: Hints, key: Schema[K], value: Schema[V]): MetaEncode[Map[K, V]]

Attributes

Definition Classes
override def option[A](schema: Schema[A]): MetaEncode[Option[A]]

Attributes

Definition Classes
override def primitive[P](shapeId: ShapeId, hints: Hints, tag: Primitive[P]): MetaEncode[P]

Attributes

Definition Classes
override def refine[A, B](schema: Schema[A], refinement: Refinement[A, B]): MetaEncode[B]

Attributes

Definition Classes
override def struct[S](shapeId: ShapeId, hints: Hints, fields: Vector[Field[S, _]], make: IndexedSeq[Any] => S): MetaEncode[S]

Attributes

Definition Classes
override def union[U](shapeId: ShapeId, hints: Hints, alternatives: Vector[Alt[U, _]], dispatcher: Dispatcher[U]): MetaEncode[U]

Attributes

Definition Classes

Inherited methods

final def andThen[H[_]](other: PolyFunction[MetaEncode, H]): PolyFunction[F, H]

Attributes

Inherited from:
PolyFunction
override def apply[A](schema: Schema[A]): F[A]

Attributes

Definition Classes
Inherited from:
Cached
final def compose[H[_]](other: PolyFunction[H, Schema]): PolyFunction[H, G]

Attributes

Inherited from:
PolyFunction
final def narrow[F0 <: (Schema)]: PolyFunction[F0, G]

Attributes

Inherited from:
PolyFunction
final def widen[G0[a0]]: PolyFunction[F, G0]

Attributes

Inherited from:
PolyFunction

Concrete fields