Convert swagger controller to ApiController