package io.specto.hoverfly.junit.api.model;

import com.fasterxml.jackson.annotation.JsonInclude;

import java.util.List;

@JsonInclude(JsonInclude.Include.NON_NULL)
public class ModeArguments {

    private List<String> headersWhitelist;

    public ModeArguments() {
    }

    public ModeArguments(List<String> headersWhitelist) {
        this.headersWhitelist = headersWhitelist;
    }

    public List<String> getHeadersWhitelist() {
        return headersWhitelist;
    }

    public void setHeadersWhitelist(List<String> headersWhitelist) {
        this.headersWhitelist = headersWhitelist;
    }
}

@@ -87,40 +87,146 @@
 sonI
-nclude;%0A%0Aimport java.util.List;%0A
+gnoreProperties;%0Aimport com.fasterxml.jackson.annotation.JsonInclude;%0A%0Aimport java.util.List;%0A%0A@JsonIgnoreProperties(ignoreUnknown = true)
 %0A@Js
@@ -337,16 +337,53 @@
 itelist;
+%0A    private String matchingStrategy;
 %0A%0A    pu
@@ -740,10 +740,213 @@
 ;%0A    %7D%0A
+%0A%0A    public String getMatchingStrategy() %7B%0A        return matchingStrategy;%0A    %7D%0A%0A    public void setMatchingStrategy(String matchingStrategy) %7B%0A        this.matchingStrategy = matchingStrategy;%0A    %7D%0A
 %7D%0A

Fix unknown properties in hoverfly info view