/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package org.openmrs.module.basicexample.web.controller; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.openmrs.module.webservices.rest.web.RestConstants; import org.openmrs.module.webservices.rest.web.v1_0.controller.MainResourceController; /** * @author levine */ @Controller @RequestMapping("/rest/" + RestConstants.VERSION_1 + "/basicexample") public class BasicexampleResourceController extends MainResourceController { /** * @see org.openmrs.module.webservices.rest.web.v1_0.controller.BaseRestController#getNamespace() */ @Override public String getNamespace() { return "v1/basicexample"; } }