pokemock
pokemock copied to clipboard
Minimization is buggy
Full dereference and minimization of Swagger-Files is flawed. Some obscure but valid Swagger files with circular references are not properly minimized.
Generally, by fully dereferencing a Swagger file, we lose intentionally placed $refs. We shouldn't be losing that information. Instead, we should follow $refs in any application algorithm as needed, and drop minimization completely.