def METHOD_NAME(self, request: Request, project: Project) -> Response:
    """
    Retrieve List of CODEOWNERS configurations for a project
    ````````````````````````````````````````````
    Return a list of a project's CODEOWNERS configuration.
    :auth: required
    """
    if not self.has_feature(request, project):
        raise PermissionDenied
    expand = request.GET.getlist("expand", [])
    expand.append("errors")
    has_targeting_context = features.has(
        "organizations:streamline-targeting-context", project.organization
    )
    codeowners = list(ProjectCodeOwners.objects.filter(project=project).order_by("-date_added"))
    if has_targeting_context and codeowners:
        for codeowner in codeowners:
            self.add_owner_id_to_schema(codeowner, project)
        expand.append("renameIdentifier")
        expand.append("hasTargetingContext")
    return Response(
        serialize(
            codeowners,
            request.user,
            serializer=projectcodeowners_serializers.ProjectCodeOwnersSerializer(expand=expand),
        ),
        status.HTTP_200_OK,
    )