I have several YML large files (with cross file references) with a swagger definition. Those files were maintained for years, new API was added, old removed. Now there are a lot of unused definitions as left over after deleting deprecated endpoints. It is practically impossible to clean it manually.
I am looking for some tool which can read those swagger files, analyze it and remove all unused definitions and write it out again.
Can you recommend me such a tool, please?