I have a model (myModel) that has the following data annotation on myProperty

```
[Required(ErrorMessage = "myProperty is required.")]

```

In the api controller we are validating the model as follows:

```
  if (!ModelState.IsValid)
{

   var errorResponse = new HttpRequestMessage()
.CreateErrorResponse(HttpStatusCode.BadReques, ModelState);

    throw new HttpResponseException(errorResponse);
}

```

What I get back in postman is:

```
    {
    "Message": "The request is invalid.",
    "ModelState": {
        "myModel": [
            "An error has occurred."
        ]
    }
}

```

I would like to get back the error message from the data annotation.