Changes for page RefactoringRESTXML

Last modified by Thomas Mortagne on 2022/08/08 11:05

From version 1.5
edited by Thomas Mortagne
on 2022/08/08 10:53
Change comment: There is no comment for this version
To version 1.6
edited by Thomas Mortagne
on 2022/08/08 10:53
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -18,7 +18,7 @@
18 18  StringWriter writer = new StringWriter();
19 19  JAXBContext context = JAXBContext.newInstance("org.xwiki.rest.model.jaxb");
20 20  Marshaller marshaller = context.createMarshaller();
21 -marshaller.marshal(restRequest, writer);
21 +marshaller.marshal(restJobRequest, writer);
22 22  
23 23  pintln "{{code language='xml'}}"
24 24  pintln writer.toString()