Adding validation annotations api requests.