Param

harness.endpoint.spec.PathCodec$.Param
See theParam companion object
final case class Param[A](name: String, schema: Schema[A]) extends PathCodec[A]

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait PathCodec[A]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def decodePathInternal(paths: List[String]): Option[(A, List[String])]

Attributes

Definition Classes
override def encodePath(o: A): List[String]

Attributes

Definition Classes

Inherited methods

final def /[B](p: String): PathCodec[A]

Attributes

Inherited from:
PathCodec
final def /[B](that: PathCodec[B])(implicit z: Zip[A, B]): PathCodec[Out]

Attributes

Inherited from:
PathCodec
final def decodePath(paths: List[String]): Option[A]

Attributes

Inherited from:
PathCodec
final def imap[B](to: A => B, from: B => A): PathCodec[B]

Attributes

Inherited from:
PathCodec
final def imapDecode[B](to: A => Option[B], from: B => A): PathCodec[B]

Attributes

Inherited from:
PathCodec
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

override val schemas: NonEmptyList[List[PathSchema]]