Open aneeshnazar opened 1 month ago
hi @aneeshnazar
I recreated your example in the playground
If I understand correctly, you also want to remove schema that are only referencing themselves? If they would be used somewhere else they would have to remain?
I'm bit surprised how a schema would reference itself, can you share that case so we can look into building the logic to filter out this case.
hi @aneeshnazar
Did you have some time to look at my questions? So we can further look into this.
We're trying to use this filterFile:
to filter our OpenAPI specs. It works for most use-cases, but schemas like this, that are not being referenced elsewhere in the filtered spec:
are also being captured