improve api registry dto