Skip to content

Commit

Permalink
Merge pull request #3039 from swagger-api/ticket-3037
Browse files Browse the repository at this point in the history
ref #3037 - SpecFilter fix filter schemas
  • Loading branch information
frantuma authored Nov 28, 2018
2 parents 704a1de + a5b255e commit 8569c8f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ protected Map<String, Schema> filterComponentsSchema(OpenAPISpecFilter filter, M
if (property != null) {
Optional<Schema> filteredProperty = filter.filterSchemaProperty(property, definition, (String) propName, params, cookies, headers);
if (filteredProperty.isPresent()) {
clonedProperties.put((String) propName, property);
clonedProperties.put((String) propName, filteredProperty.get());
}
}
}
Expand Down

0 comments on commit 8569c8f

Please sign in to comment.