kt-schema
Toggle table of contents
0.7.0
common
Target filter
common
Switch theme
Search in API
Skip to content
kt-schema
kt-schema-json
/
me.kpavlov.kt.schema.json
/
ArrayPropertyBuilder
/
ofString
of
String
fun
ofString
(
block
:
StringPropertyBuilder
.
(
)
->
Unit
=
{}
)
(
source
)
Specifies that array items are strings.
Example
array {
ofString {
minLength = 1
}
}
Content copied to clipboard