createRequestValidator

Creates a RequestValidator of a given RestApi.