Added swagger annotations to pull messages resource