Pull version and endpoint name from annotation