Commit 35c74487 authored by michael.simon's avatar michael.simon
Browse files

tag some xml fields as required

parent 4cd7bd43
......@@ -11,7 +11,7 @@ import javax.xml.bind.annotation.XmlRootElement;
@XmlAccessorType(XmlAccessType.FIELD)
public class AttributeQueryResponse {
@XmlElement(name = "code")
@XmlElement(name = "code", required = true)
private int code;
@XmlElement(name = "message")
......
......@@ -7,7 +7,7 @@ import javax.xml.bind.annotation.XmlElement;
@XmlAccessorType(XmlAccessType.FIELD)
public class RestError {
@XmlElement(name="short")
@XmlElement(name="short", required=true)
private String errorShort;
@XmlElement(name="detail")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment