for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
package dev.hltech.dredd.interfaces.rest.validation;
import com.google.common.collect.Lists;
import lombok.Getter;
import java.util.List;
@Getter
public class ContractValidationReportDto {
private ConsumerAndProviderDto consumerAndProvider;
private List<InteractionValidationReportDto> interactions = Lists.newLinkedList();
public ContractValidationReportDto(ConsumerAndProviderDto consumerAndProvider) {
this.consumerAndProvider = consumerAndProvider;
}
public void addInteractions(List<InteractionValidationReportDto> interactions) {
this.interactions.addAll(interactions);