protected void describePut(MethodInfo info) {
info.setDocumentation("Update or create the current item.");
RepresentationInfo repInfo = new RepresentationInfo(
MediaType.APPLICATION_WWW_FORM);
ParameterInfo param = new ParameterInfo("name", ParameterStyle.PLAIN,
"Name of the item");
repInfo.getParameters().add(param);
param = new ParameterInfo("description", ParameterStyle.PLAIN,
"Description of the item");
repInfo.getParameters().add(param);
repInfo.setDocumentation("Web form.");
info.getRequest().getRepresentations().add(repInfo);