Closed gwagener closed 9 years ago
LGTM, thanks!
I'm going to need to do further investigation to determine the practical difference between
elsif !swagger_checker.has_response_code_for_path?(path, method, expected_response_code)
and
elsif method == "get" && swagger_checker.fragment(path, method, expected_response_code).nil?
At first glance they look like they could be the same thing...
EDIT: the second one is attempting to enforce GET response models must be filled out with a full response schema. I'll look at adding a test for this.
Obviously this path wasn't exercised by any test. Anyone want to write one for me to add to the PR?