Create a request validator

Creates a request validator for a REST API.