diff --git a/modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/ModelResolver.java b/modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/ModelResolver.java index 93f9b90e5d..649080308c 100644 --- a/modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/ModelResolver.java +++ b/modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/ModelResolver.java @@ -2150,6 +2150,7 @@ protected Set resolveIgnoredProperties(Annotations a, Annotation[] annot propertiesToIgnore.addAll(Arrays.asList(ignoreProperties.value())); } } + propertiesToIgnore.addAll(resolveIgnoredProperties(annotations)); return propertiesToIgnore; }