When an obligation or contract made on behalf of a municipal corporation, granting a right or easement or creating a public duty, is being evaded or violated, the village solicitor or city director of law shall apply for the forfeiture or the specific performance thereof as the nature of the case requires.
R.C. §733.57