case class JsonType(name: Option[String], tpe: String, format: String = "", isArray: Boolean = false, fields: Seq[JsonField] = Seq()) extends Product with Serializable
Structure for building object types documentation
- name
type name (actual for
tpe== "object" only)- tpe
type in Swagger terms @see https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types
- format
additional Swagger type definition
- isArray
true is marking the type as array of
tpeitems- fields
list of
objectfields (actual fortpe== "object" only)
- Alphabetic
- By Inheritance
- JsonType
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
JsonType(name: Option[String], tpe: String, format: String = "", isArray: Boolean = false, fields: Seq[JsonField] = Seq())
- name
type name (actual for
tpe== "object" only)- tpe
type in Swagger terms @see https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types
- format
additional Swagger type definition
- isArray
true is marking the type as array of
tpeitems- fields
list of
objectfields (actual fortpe== "object" only)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- var fields: Seq[JsonField]
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- val format: String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def isArray(value: Boolean): JsonType
- var isArray: Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val name: Option[String]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val tpe: String
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()