Merge "Bug 9092: revert to org.json temporarily"
[netconf.git] / restconf / sal-rest-connector / src / main / java / org / opendaylight / restconf / base / services / api / RestconfService.java
index acdcefc9e0eeaeafd5b2ed015f32af01a88bddfa..6e0640105ec50f88ab3ccdb5fb75714bae26fd12 100644 (file)
@@ -12,23 +12,23 @@ import javax.ws.rs.Path;
 import javax.ws.rs.Produces;
 import javax.ws.rs.core.MediaType;
 import org.opendaylight.netconf.sal.restconf.impl.NormalizedNodeContext;
-import org.opendaylight.restconf.Draft18;
+import org.opendaylight.restconf.Rfc8040;
 import org.opendaylight.restconf.utils.RestconfConstants;
 
 /**
- * Service for getting yang library version
+ * Service for getting yang library version.
  *
  */
 public interface RestconfService {
 
     /**
-     * Get yang library version
+     * Get yang library version.
      *
      * @return {@link NormalizedNodeContext}
      */
     @GET
     @Path("/yang-library-version")
-    @Produces({ Draft18.MediaTypes.DATA + RestconfConstants.JSON, Draft18.MediaTypes.DATA, MediaType.APPLICATION_JSON,
+    @Produces({ Rfc8040.MediaTypes.DATA + RestconfConstants.JSON, Rfc8040.MediaTypes.DATA, MediaType.APPLICATION_JSON,
             MediaType.APPLICATION_XML, MediaType.TEXT_XML })
-    public NormalizedNodeContext getLibraryVersion();
+    NormalizedNodeContext getLibraryVersion();
 }