Object

ru.tinkoff.tschema

typeDSL

Related Doc: package tschema

Permalink

object typeDSL

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. typeDSL
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final class :>[path, postfix] extends DSLDef

    Permalink

    concatenates pair of paths into complete path

    concatenates pair of paths into complete path

    path

    prefix - always simple path without disjunctions

    postfix

    postfix

  2. final case class <|>[left, right](left: left, right: right) extends DSLDef with Product with Serializable

    Permalink

    disjunction operator can be used both for defining API type and for joining different handlers resulting type is effectively Either[left input, right input] => Either[left output, right output]

  3. final class ApiKeyAuth[realm, Param <: CanHoldApiKey] extends DSLAtomAuth

    Permalink

    defines api key authentication scheme

    defines api key authentication scheme

    Param

    on of: Header, Cookie or Query

  4. final class As[directive, name] extends DSLAtom

    Permalink

    transforms directive to rename provided parameter with given name

  5. final class BasicAuth[realm, name, T] extends DSLAtomAuth

    Permalink

    defines basic authentication scheme

  6. final class BearerAuth[realm, name, T] extends DSLAtomAuth

    Permalink

    defines bearer authentication scheme

  7. trait CanHoldApiKey extends AnyRef

    Permalink
  8. final class Capture[name, x] extends DSLAtom

    Permalink

    captures param from path element

    captures param from path element

    name

    name of param, have no effect to routing

    x

    type of param, should have instance of FromPathParam

  9. final class Complete[x] extends DSLDef

    Permalink

    indicates result of element of type x does not check HTTP method

  10. final class Cookie[name, x] extends DSLAtom with CanHoldApiKey

    Permalink

    captures field value from Cookie

  11. trait DSLAtom extends DSLDef

    Permalink
  12. trait DSLAtomAuth extends DSLAtom

    Permalink
  13. trait DSLDef extends AnyRef

    Permalink
  14. trait DSLMethod extends DSLAtom

    Permalink
  15. final class Delete extends DSLMethod

    Permalink

    indicates result of element of type x via DELETE HTTP method

  16. final class FormField[name, x] extends DSLAtom

    Permalink

    captures field value from form data

    captures field value from form data

    name

    field name

    x

    parameter type, should have FromFormParam instance

  17. final class Get extends DSLMethod

    Permalink

    indicates result of element of type x via GET HTTP method

  18. final class Head extends DSLMethod

    Permalink

    indicates result of element of type x via HEAD HTTP method

  19. final class Header[name, x] extends DSLAtom with CanHoldApiKey

    Permalink

    captures header value

    captures header value

    name

    header name

    x

    parameter type, should have FromHeader instance

  20. class Key[key] extends DSLAtom

    Permalink

    naming symbol of single route in complex route

  21. trait Meta extends DSLAtom

    Permalink

    Any path component that is subtype of Meta will be ignored by Serve but could support additional information like swagger tags or descriptions

  22. final class Options extends DSLMethod

    Permalink

    indicates result of element of type x via OPTIONS HTTP method

  23. final class Patch extends DSLAtom

    Permalink

    indicates result of element of type x via PATCH HTTP method

  24. final class Post extends DSLMethod

    Permalink

    indicates result of element of type x via POST HTTP method

  25. final class Prefix[pref] extends DSLAtom

    Permalink

    Indicated single path prefix Could be replaced by it's parameter

    Indicated single path prefix Could be replaced by it's parameter

    pref

    singleton string

  26. final class Put extends DSLMethod

    Permalink

    indicates result of element of type x via PUT HTTP method

  27. final class QueryFlag[name] extends DSLAtom

    Permalink

    captures fact of provision of param in query

    captures fact of provision of param in query

    name

    name of param

  28. final class QueryParam[name, x] extends DSLAtom with CanHoldApiKey

    Permalink

    captures param from query

    captures param from query

    name

    name of param

    x

    type of param, should have instance of FromQueryParam

  29. final class QueryParams[name, x] extends DSLAtom

    Permalink

    captures param list from query

    captures param list from query

    name

    name of param

    x

    type of param, should have instance of FromQueryParam

  30. final class Record[place[_, _], x] extends DSLAtom

    Permalink

    captures multiple fields from place

    captures multiple fields from place

    place

    Header, FormField, Cookie or QueryParam

    x

    record type - only simple types, with modifiers like Option or List accepted

  31. final class ReqBody[name, x] extends DSLAtom

    Permalink

    captures request body and unmarshalls in to requested type

    captures request body and unmarshalls in to requested type

    x

    type of body, should have FromRequestUnmarshaller instance

  32. final class Transform[source, name, t, a, b] extends DSLAtom

    Permalink

    transforms existing parameter introducing new parameter using known transformation

  33. final class TransformReq[source, name, t, a, b, req] extends DSLAtom

    Permalink

    transforms existing parameter introducing new parameter using known transformation

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  14. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  16. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped