import org.opendaylight.yangtools.yang.common.QName;
/**
+ * Base Draft for Restconf project.
+ *
* @deprecated Do not use old implementation of restconf draft. It will be
* replaced by {@link Rfc8040}.
- *
*/
@Deprecated
public class Draft02 {
- public static interface MediaTypes {
+ public interface MediaTypes {
String API = "application/yang.api";
String DATASTORE = "application/yang.datastore";
String DATA = "application/yang.data";
String STREAM = "application/yang.stream";
}
- public static interface RestConfModule {
+ public interface RestConfModule {
String REVISION = "2013-10-19";
String NAME = "ietf-restconf";
QName ERROR_INFO_QNAME = QName.create(IETF_RESTCONF_QNAME, "error-info");
}
- public static interface Paths {
-
- }
+ public interface Paths {}
}