add annotation to nested API