File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
src/main/kotlin/wu/seal/jsontokotlin Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,6 @@ data class DataClass(
109109
110110
111111 override fun <T : KotlinClass > applyInterceptors (enabledKotlinClassInterceptors : List <IKotlinClassInterceptor <T >>): KotlinClass {
112- if (fromJsonSchema) return this
113112 val newProperties = mutableListOf<Property >()
114113 properties.forEach {
115114 newProperties.add(it.copy(typeObject = it.typeObject.applyInterceptors(enabledKotlinClassInterceptors)))
Original file line number Diff line number Diff line change @@ -75,11 +75,11 @@ object TestConfig {
7575 fun setToTestInitStateForJsonSchema () {
7676 isTestModel = true
7777 isCommentOff = false
78- isOrderByAlphabetical = true
78+ isOrderByAlphabetical = false
7979 isPropertiesVar = false
8080 targetJsonConvertLib = TargetJsonConverter .None
8181 propertyTypeStrategy = PropertyTypeStrategy .AutoDeterMineNullableOrNot
82- defaultValueStrategy = DefaultValueStrategy .AllowNull
82+ defaultValueStrategy = DefaultValueStrategy .None
8383 isNestedClassModel = false
8484 customPropertyAnnotationFormatString = " @SerialName(\" %s\" )"
8585 customAnnotaionImportClassString = " import kotlinx.serialization.SerialName\n " +
You can’t perform that action at this time.
0 commit comments