Add plain PATCH capability to RFC8040 server
[netconf.git] / restconf / restconf-nb-rfc8040 / src / main / java / org / opendaylight / restconf / nb / rfc8040 / jersey / providers / patch / PatchXmlBodyWriter.java
index aa936e59193cea70020ef2b2a6905f1db67a346a..0d6ce8455a852dc2c7bc7881e9cfae134e717eea 100644 (file)
@@ -30,7 +30,7 @@ import org.opendaylight.restconf.nb.rfc8040.Rfc8040;
 import org.opendaylight.restconf.nb.rfc8040.utils.RestconfConstants;
 
 @Provider
-@Produces({ Rfc8040.MediaTypes.PATCH_STATUS + RestconfConstants.XML })
+@Produces({ Rfc8040.MediaTypes.YANG_PATCH_STATUS + RestconfConstants.XML })
 public class PatchXmlBodyWriter implements MessageBodyWriter<PatchStatusContext> {
 
     private static final XMLOutputFactory XML_FACTORY;