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]
Container type to reflect
Content type of the container
Returns the type of container (if it is a container)
Returns the type of container (if it is a container)
Type to check
List
, Array
, Set
or empty string if not a container
Converts a scala type of a swagger type
Converts a scala type of a swagger type
Scala type of a class or value
String description of the class or value. Empty string if it cannot be converted.
Determines if tpe
is typeOf[Option[_]]
Determines if tpe
is typeOf[Option[_]]
Type to check
true
if option, false
otherwise
Checks if the type is a primitive
Checks if the type is a primitive
Type to check
True
if tpe
is a primitive, False
otherwise
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]
Option type to reflect
Content type of the option. If not an option, the input tpe
is returned
Scala to Swagger conversion