/// <summary>
        ///
        /// </summary>
        public override RuleLogs Validate()
        {
            if (_openApiSchemaRule != null)
            {
                _ruleLogs.Log(_openApiSchemaRule.Validate());
            }

            return(_ruleLogs);
        }
        /// <summary>
        ///
        /// </summary>
        public override RuleLogs Validate()
        {
            if (_required && _openApiSchemaRule.Data == null)
            {
                _ruleLogs.Log($"{RequestElementName} is required.");
                return(_ruleLogs);
            }



            return(_openApiSchemaRule.Validate());
        }