travis should use jdk7
added swagger with example endpoints docs