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;
    }
}

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

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;

import java.util.List;

@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ModeArguments {

    private List<String> headersWhitelist;
    private String matchingStrategy;

    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;
    }


    public String getMatchingStrategy() {
        return matchingStrategy;
    }

    public void setMatchingStrategy(String matchingStrategy) {
        this.matchingStrategy = matchingStrategy;
    }
}

Fix unknown properties in hoverfly info view
Fix unknown properties in hoverfly info view


Former-commit-id: 8b13c7dee16d75cde6192a7c7df6cab4c57f978b