Skip to content

Commit

Permalink
refs #3011 - fix wrongly ignored operations with empty path
Browse files Browse the repository at this point in the history
  • Loading branch information
frantuma committed Apr 16, 2021
1 parent 96b072c commit 3a8524c
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1411,7 +1411,15 @@ public void setApplication(Application application) {
this.application = application;
}

/* Since 2.1.8 does nothing, as previous implementation maintained for ref in
`ignoreOperationPathStrict` was ignoring resources which would be ignored
due to other checks in Reader class.
*/
protected boolean ignoreOperationPath(String path, String parentPath) {
return false;
}

protected boolean ignoreOperationPathStrict(String path, String parentPath) {

if (StringUtils.isBlank(path) && StringUtils.isBlank(parentPath)) {
return true;
Expand Down

0 comments on commit 3a8524c

Please sign in to comment.