public void setContract(ApiContract contract) {
        this.contract = contract;
    }
@param contract the contract to set
gateway/engine/beans/src/main/java/io/apiman/gateway/engine/beans/ApiRequest.java