Initial attempt to add Swagger support (result of last research day).
Clean up an ArrayIndexOutOfBoundException; reformat using Eclipse PP syntax