Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaTP committed Oct 9, 2023
1 parent db7a955 commit ee7835f
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,10 @@ void shouldAugmentPropertiesSchemaFromAnnotations() throws JsonProcessingExcepti

final JSONSchemaProps defaultValue2 = spec.get("defaultValue2");
assertEquals("my-value2", YAML_MAPPER.writeValueAsString(defaultValue2.getDefault()).trim());
assertNull(defaultValue.getNullable());
assertNull(defaultValue.getMinimum());
assertNull(defaultValue.getMaximum());
assertNull(defaultValue.getPattern());
assertNull(defaultValue2.getNullable());
assertNull(defaultValue2.getMinimum());
assertNull(defaultValue2.getMaximum());
assertNull(defaultValue2.getPattern());

// check required list, should register properties with their modified name if needed
final List<String> required = specSchema.getRequired();
Expand Down

0 comments on commit ee7835f

Please sign in to comment.