fixed rest api doc formatting