public override Object Clone()
        {
            var that = new OpenApiParameterRule(this.RequestElementName, this.InParameterLocation, this._context, this._openApiElement);

            this.Copy(that);
            return(that);
        }
        /// <summary>
        ///
        /// </summary>
        public IValidate Build(OpenApiParameter parameter)
        {
            IValidate validator = new OpenApiParameterRule(parameter.Name, parameter.In, _validatorContext, parameter);

            //if (parameter.IsRequired())
            //validator.AddRule(BuildRequired(_validatorContext, parameter));

            return(validator);
        }