I cannot get why spring create the same links for *self* and *rel*? Is there a way how to disable it? I think that this only my issue because I didn't meet such problem in docs I read.

[![enter image description here](https://i.stack.imgur.com/blSLj.png)](https://i.stack.imgur.com/blSLj.png)

Here is my entity mapping:

```
@Getter
@Setter
@Document
public class Ad {
    @Id
    private String id;
    private String description;
    private Banner banner;
}

@Getter
@Setter
public class Banner {
    private String id;
    private String filename;
}

```

Here is my repository:

```
@RepositoryRestResource
public interface AdRepository extends CrudRepository<Ad, String> {
}

```

I touch the following url: *http://localhost:8558/ads*

I don't use any projections. My app is quite primitive now. There is nothing specific. 

Thanks in advance!