Creating validation filters for WebAPI

While working in the development of new APIs for the organization that I work for, it came up with a couple of requirements to validate the input that the API consumer was passing in the request. There are several ways of doing this, but in the WebAPI world, something that is reusable was the focus here. For that, I used...