org.mashupbots.socko.rest

SwaggerReflector

object SwaggerReflector

Scala to Swagger conversion

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SwaggerReflector
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

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

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

    Definition Classes
    AnyRef → Any
  4. val anyRefType: scala.reflect.api.JavaUniverse.Type

  5. val arrayType: scala.reflect.api.JavaUniverse.Type

  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. val booleanType: scala.reflect.api.JavaUniverse.Type

  8. val byteType: scala.reflect.api.JavaUniverse.Type

  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def containerContentType(tpe: scala.reflect.api.JavaUniverse.Type): scala.reflect.api.JavaUniverse.Type

    Returns the type of the contents of the container.

    Returns the type of the contents of the container.

    For example, typeOf[List[Pet]] will return typeOf[Pet]

    tpe

    Container type to reflect

    returns

    Content type of the container

  11. def containerType(tpe: scala.reflect.api.JavaUniverse.Type): String

    Returns the type of container (if it is a container)

    Returns the type of container (if it is a container)

    • List. An ordered list of values is not supported because I cannot find Scala equivalent.
    • Set. An unordered set of unique values maps to a Scala Set
    • Array. An unordered list of values maps to a Scala Seq or Array
    tpe

    Type to check

    returns

    List, Array, Set or empty string if not a container

  12. def dataType(tpe: scala.reflect.api.JavaUniverse.Type): String

    Converts a scala type of a swagger type

    Converts a scala type of a swagger type

    tpe

    Scala type of a class or value

    returns

    String description of the class or value. Empty string if it cannot be converted.

  13. val dateType: scala.reflect.api.JavaUniverse.Type

  14. val doubleType: scala.reflect.api.JavaUniverse.Type

  15. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. val floatType: scala.reflect.api.JavaUniverse.Type

  19. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  21. val intType: scala.reflect.api.JavaUniverse.Type

  22. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  23. def isOption(tpe: scala.reflect.api.JavaUniverse.Type): Boolean

    Determines if tpe is typeOf[Option[_]]

    Determines if tpe is typeOf[Option[_]]

    tpe

    Type to check

    returns

    true if option, false otherwise

  24. def isPrimitive(tpe: scala.reflect.api.JavaUniverse.Type): Boolean

    Checks if the type is a primitive

    Checks if the type is a primitive

    tpe

    Type to check

    returns

    True if tpe is a primitive, False otherwise

  25. val longType: scala.reflect.api.JavaUniverse.Type

  26. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  27. final def notify(): Unit

    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  29. val optionAnyRefType: scala.reflect.api.JavaUniverse.Type

  30. val optionBooleanType: scala.reflect.api.JavaUniverse.Type

  31. val optionByteType: scala.reflect.api.JavaUniverse.Type

  32. def optionContentType(tpe: scala.reflect.api.JavaUniverse.Type): scala.reflect.api.JavaUniverse.Type

    Returns the type of the contents of the option.

    Returns the type of the contents of the option.

    For example, typeOf[Option[Pet]] will return typeOf[Pet]

    tpe

    Option type to reflect

    returns

    Content type of the option. If not an option, the input tpe is returned

  33. val optionDateType: scala.reflect.api.JavaUniverse.Type

  34. val optionDoubleType: scala.reflect.api.JavaUniverse.Type

  35. val optionFloatType: scala.reflect.api.JavaUniverse.Type

  36. val optionIntType: scala.reflect.api.JavaUniverse.Type

  37. val optionLongType: scala.reflect.api.JavaUniverse.Type

  38. val optionShortType: scala.reflect.api.JavaUniverse.Type

  39. val optionStringType: scala.reflect.api.JavaUniverse.Type

  40. val seqType: scala.reflect.api.JavaUniverse.Type

  41. val setType: scala.reflect.api.JavaUniverse.Type

  42. val shortType: scala.reflect.api.JavaUniverse.Type

  43. val stringType: scala.reflect.api.JavaUniverse.Type

  44. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  45. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped