swagger-ui JPA relationships
Hi, I'm using swagger-ui with Spring Boot. In my models are some relationships like @OneToMany and @ManyToOne Can I tell swagger-ui that it shouldn't put in the complete related model, but only the table field with the key_id? I know that is something DB specific how the relationships are handled, but I know that with ... class Mother { @OneToMany(mappedBy = "mother") List<Child> childs; } class Child { @ManyToOne Mother mother; } there is a field mother_id in table CHILD. I don't want to see the Mother object but only this mother_id in swagger-ui. Can this be configured? Thx