koja
Toggle table of contents
0.4.8
common
Target filter
common
Switch theme
Search in API
Skip to content
koja
koja-runtime
/
sh.ondr.koja
/
Schema
/
StringSchema
String
Schema
@
Serializable
@
SerialName
(
value
=
"string"
)
data
class
StringSchema
(
val
description
:
String
?
=
null
,
val
enum
:
List
<
String
>
?
=
null
)
:
Schema
Members
Members & Extensions
Constructors
String
Schema
Link copied to clipboard
constructor
(
description
:
String
?
=
null
,
enum
:
List
<
String
>
?
=
null
)
Properties
description
Link copied to clipboard
open
override
val
description
:
String
?
enum
Link copied to clipboard
val
enum
:
List
<
String
>
?
Functions
to
Json
Element
Link copied to clipboard
fun
Schema
.
toJsonElement
(
)
:
JsonElement
Converts this
Schema
instance into a
JsonElement
.