Skip to content
Snippets Groups Projects
Commit dd303dcb authored by OZGCloud's avatar OZGCloud
Browse files

OZG-6477 OZG-6439 Fix names of relations in response

parent 447c78af
No related branches found
No related tags found
No related merge requests found
package de.ozgcloud.alfa.collaboration; package de.ozgcloud.alfa.collaboration;
import org.springframework.hateoas.server.core.Relation;
import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnore;
import de.ozgcloud.alfa.common.LinkedResource; import de.ozgcloud.alfa.common.LinkedResource;
...@@ -12,6 +14,7 @@ import lombok.NoArgsConstructor; ...@@ -12,6 +14,7 @@ import lombok.NoArgsConstructor;
@Builder @Builder
@AllArgsConstructor @AllArgsConstructor
@NoArgsConstructor @NoArgsConstructor
@Relation(itemRelation = "collaboration", collectionRelation = "collaborationList")
public class FachstelleCollaboration implements Collaboration { public class FachstelleCollaboration implements Collaboration {
@JsonIgnore @JsonIgnore
......
package de.ozgcloud.alfa.collaboration; package de.ozgcloud.alfa.collaboration;
import org.springframework.hateoas.server.core.Relation;
import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnore;
import de.ozgcloud.alfa.common.LinkedResource; import de.ozgcloud.alfa.common.LinkedResource;
...@@ -12,6 +14,7 @@ import lombok.NoArgsConstructor; ...@@ -12,6 +14,7 @@ import lombok.NoArgsConstructor;
@Builder @Builder
@AllArgsConstructor @AllArgsConstructor
@NoArgsConstructor @NoArgsConstructor
@Relation(itemRelation = "collaboration", collectionRelation = "collaborationList")
public class OrganisationsEinheitCollaboration implements Collaboration { public class OrganisationsEinheitCollaboration implements Collaboration {
@JsonIgnore @JsonIgnore
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment