Open connorsadler opened 2 weeks ago
hi @connorsadler
Thanks for providing the detailed reproduction steps.
When I find some time, I'll try to reproduce the behavior based on your archive.zip and steps.
I'll share update once we have them.
Thanks We can work around it for the moment by just including a dummy unused item in the original spec, which we are in control of
Hi,
I am trying to filter a yaml openapi spec, to remove a path and remove unused schema components. The path filtering works fine, but the unused component removal does not work - unless I deliberately add an unused component to the original file (I did this by accident while experimenting)
Please see attached zip file for sample files and README.md with steps to reproduce issue I will also copy in README.md below
There is always the possibility that I am doing something wrong - apologies if that is the case here.
Thanks,
Connor
Mac OS openapi-format version: tried with 1.14.0 and 1.17.0 - same results
PROBLEM: The 'remove unused components' doesn't work - it leaves some items in there that it shouldn't
Steps to show problem:
Archive.zip