pokemock icon indicating copy to clipboard operation
pokemock copied to clipboard

Minimization is buggy

Open morris opened this issue 7 years ago • 0 comments

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.

morris avatar Jun 02 '17 08:06 morris