[yanqian & fangzhigang] Add hateOAS support.