Closed P0lip closed 3 years ago
Curious what @philsturgeon thinks, but should it be a bit less opinionated about clobbering required? I feel like rather than a new option it might make more sense to just remove the cleanRequired call altogether. It doesn't interop well at all with allOf
.
I am currently trying to find out the context of why cleanRequired exists but I'm not getting very far. It could just be an artifact from the port, but I'm not sure what the point of it is. If we're going to add an option we should document it in README and explain what its for, but if we dont understand the use case we probably dont need the option and can just remove it entirely.
We can actually close this PR since we no longer need it internally at Stoplight. I went one step further, and removed the dependency entirely in http-spec, here https://github.com/stoplightio/http-spec/pull/128
Needed for https://github.com/stoplightio/platform-internal/issues/5359