completed restdoc support implementation