Segment

sttp.tapir.serverless.aws.cdk.internal.Segment
See theSegment companion class
object Segment

Attributes

Companion
class
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Segment.type

Members list

Type members

Classlikes

case class Fixed extends Segment

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Segment
class Object
trait Matchable
class Any
Show all
object Fixed

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Fixed.type
case class Parameter extends Segment

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Segment
class Object
trait Matchable
class Any
Show all
object Parameter

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Parameter.type

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(value: String): Option[Segment]

This do not enforce any strict rules or logic. Preprocessed and encoded segments derive from core tapir Endpoint. Duplicating any url segments processing rules would be rather harmful here. This is not responsibility of this module at all. Segment just introduce explicit differentiation between fixed path and parameter for clarity purposes.

This do not enforce any strict rules or logic. Preprocessed and encoded segments derive from core tapir Endpoint. Duplicating any url segments processing rules would be rather harmful here. This is not responsibility of this module at all. Segment just introduce explicit differentiation between fixed path and parameter for clarity purposes.

There is no single form of validation in place

Attributes