proper endpoint spec