Dedicated content-type for yang defined in RFC-6020
JIRA: NETCONF-973
Change-Id: I34920f4b0341a74077387cffc04b2e2f37b5c4fb
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
* Service provides YANG schema sources for modules from yang library.
*/
@Path("/")
* Service provides YANG schema sources for modules from yang library.
*/
@Path("/")
-@Produces({ MediaType.TEXT_PLAIN, YangConstants.RFC6020_YANG_MEDIA_TYPE })
+@Produces({ YangConstants.RFC6020_YANG_MEDIA_TYPE, MediaType.TEXT_PLAIN })
public interface YangLibService {
/**
public interface YangLibService {
/**