You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking at the code, it looks like this behavior is on purpose: should include path without x-audience property
I do however agree that this is unexpected behavior.
And we are also running into this issue.
Perhaps a new match strategy can be added. Something like any_excluding_empty, and all_excluding_empty?
Another approach would be to add a decorator called "filter_out_non_existing" that would have the responsibility of filtering out items not containing a certain property.
Describe the bug
filter-in
ontags
includes operations that don't have a tagTo Reproduce
Steps to reproduce the behavior:
redocly.yaml
filespec.yml
NOTE;
/dogs
doesn't contain atags
propertyredocly bundle .\spec.yaml --config .\redocly.yaml --output .\output.yml
output.yml
contains both operationsExpected behavior
I would have expected the output to only contain the
/cats
operation.NOTE;
filter-in
works correctly if/dogs
has a tag/dogs
has an empty tags propertyRedocly Version(s)
Node.js
Version(s)OS, environment
Windows
The text was updated successfully, but these errors were encountered: