Created by: tomekc
When generating Java client, generator was crashing with cryptic NPE. After debugging, it turned out, that one of the enpoints did not have 'responses' field defined, and there was no clue, what operation it was. The code looked like was supposed to deal with that situation, but by simple mistake it moved on and caused NPE.
Additional logging helped isolate the problem.
BTW: IntelliJ IDEA IDE suggested that change, so it is easy to spot it using static code analysis.
(details of the change, additional tests that have been done, reference to the issue for tracking, etc)