From d71c191f0f84e3b968410bb7abba9d689b077ac1 Mon Sep 17 00:00:00 2001 From: Dominik Adam Przybysz Date: Sun, 30 Aug 2015 07:24:48 +0200 Subject: [PATCH] Fix wrappers names in mock event reports Change-Id: Iecbdbe6310358701f3ce22a97ce453adeefbb40e --- .../touk/mockserver/api/response/MockRequestReport.java | 8 ++++---- .../touk/mockserver/api/response/MockResponseReport.java | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/mockserver-api/src/main/java/pl/touk/mockserver/api/response/MockRequestReport.java b/mockserver-api/src/main/java/pl/touk/mockserver/api/response/MockRequestReport.java index 194b27d..aecd48f 100644 --- a/mockserver-api/src/main/java/pl/touk/mockserver/api/response/MockRequestReport.java +++ b/mockserver-api/src/main/java/pl/touk/mockserver/api/response/MockRequestReport.java @@ -11,14 +11,14 @@ public class MockRequestReport { private String text; @XmlElementWrapper(name = "headers") - @XmlElement(name = "param") + @XmlElement(name = "header") private List headers; - @XmlElementWrapper(name = "query") - @XmlElement(name = "param") + @XmlElementWrapper(name = "queryParams") + @XmlElement(name = "queryParam") private List queryParams; @XmlElementWrapper(name = "path") - @XmlElement(name = "elem") + @XmlElement(name = "pathPart") private List paths; } diff --git a/mockserver-api/src/main/java/pl/touk/mockserver/api/response/MockResponseReport.java b/mockserver-api/src/main/java/pl/touk/mockserver/api/response/MockResponseReport.java index 56ac5d5..83d3da5 100644 --- a/mockserver-api/src/main/java/pl/touk/mockserver/api/response/MockResponseReport.java +++ b/mockserver-api/src/main/java/pl/touk/mockserver/api/response/MockResponseReport.java @@ -14,6 +14,6 @@ public class MockResponseReport { private String text; @XmlElementWrapper(name = "headers") - @XmlElement(name = "param") + @XmlElement(name = "header") private List headers; }