Skip to content

Commit f6ed3d8

Browse files
committed
Update doc for properties
1 parent cc5326a commit f6ed3d8

File tree

1 file changed

+14
-2
lines changed
  • json-schema-validator-objects/src/commonMain/kotlin/io/github/optimumcode/json/schema/wrappers/objects

1 file changed

+14
-2
lines changed

json-schema-validator-objects/src/commonMain/kotlin/io/github/optimumcode/json/schema/wrappers/objects/WrappingConfiguration.kt

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ public class WrappingConfiguration internal constructor(
1717
*/
1818
public val charAsCodepoint: Boolean,
1919
/**
20-
* If set to `true` the [ByteArray] is encoded using Base64 encoding and wrapped as a [io.github.optimumcode.json.schema.model.PrimitiveElement].
21-
* Otherwise, the [ByteArray] is wrapped as an [io.github.optimumcode.json.schema.model.ArrayElement].
20+
* If set to `true` the [ByteArray] is encoded using Base64 encoding
21+
* and wrapped as a [PrimitiveElement][io.github.optimumcode.json.schema.model.PrimitiveElement].
22+
* Otherwise, the [ByteArray] is wrapped as an [ArrayElement][io.github.optimumcode.json.schema.model.ArrayElement].
2223
*/
2324
public val byteArrayAsBase64String: Boolean,
2425
) {
@@ -33,8 +34,19 @@ public class WrappingConfiguration internal constructor(
3334

3435
@ExperimentalApi
3536
public class WrappingConfigurationBuilder internal constructor() {
37+
/**
38+
* @see WrappingConfiguration.allowSets
39+
*/
3640
public var allowSets: Boolean = false
41+
42+
/**
43+
* @see WrappingConfiguration.charAsCodepoint
44+
*/
3745
public var charAsCodepoint: Boolean = false
46+
47+
/**
48+
* @see WrappingConfiguration.byteArrayAsBase64String
49+
*/
3850
public var byteArrayAsBase64String: Boolean = true
3951

4052
internal fun build(): WrappingConfiguration {

0 commit comments

Comments
 (0)