Skip to content

Commit

Permalink
refs swagger-api/swagger-petstore#125 - fix default filter
Browse files Browse the repository at this point in the history
  • Loading branch information
frantuma committed Mar 18, 2024
1 parent 78cfdf7 commit b52a6d0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public Optional<Parameter> filterParameter(Parameter parameter, Operation operat
}

@Override
public Optional<Schema> filterSchemaProperty(Schema model, Schema property, String propertyName, Map<String, List<String>> params, Map<String, String> cookies, Map<String, List<String>> headers) {
public Optional<Schema> filterSchemaProperty(Schema property, Schema model, String propertyName, Map<String, List<String>> params, Map<String, String> cookies, Map<String, List<String>> headers) {
if(property.getExtensions() != null && property.getExtensions().containsKey(Constants.X_INFLECTOR_HIDDEN)) {
return Optional.empty();
}
Expand Down

0 comments on commit b52a6d0

Please sign in to comment.