removing duplicate methods from swagger