There was an error while loading. Please reload this page.
1 parent eb970c4 commit 0cc5fceCopy full SHA for 0cc5fce
json-schema-validator/src/test/kotlin/io/openapiprocessor/jsonschema/validator/support/Draft.kt
@@ -136,7 +136,7 @@ fun draftSpec(
136
137
val mapper = ObjectMapper()
138
mapper.enable(SerializationFeature.INDENT_OUTPUT)
139
- mapper.setSerializationInclusion(JsonInclude.Include.NON_NULL)
+ mapper.setDefaultPropertyInclusion(JsonInclude.Include.NON_NULL)
140
println(mapper.writeValueAsString(output))
141
142
// check valid
0 commit comments