REST V2 Connector supports XML objects such as, XML attributes, the wrapper object, and the namespace object.
You can define attributes only for XML objects. You cannot define attributes for XML elements in the swagger specification file. Wrapper objects are supported for a simple type array element only when the array element has inline definitions. REST V2 Connector supports qualified and unqualified namespace objects in Response for source, midstream, and target transformations. Whereas, REQUEST with qualified and unqualified namespace objects is supported for midstream and target transformations.
An XML attribute is always of type string. Even if the swagger definition has attribute with type as number, the REST V2 connector always treats the attribute as string. The XSD generated has the data type as string for the XML attribute.