public void OptioanlObjectListWithValueTest()
        {
            var obj5 = new ComplexTypeWithOptionalList()
            {
                OptionalObject = new List <slot>()
                {
                    new slot()
                    {
                        MyProperty1 = "value"
                    }
                }
            };

            Assert.IsTrue(SwagValidator.Validate(obj5));
        }
        public void OptioanlObjectListWithOutValueTest()
        {
            var obj6 = new ComplexTypeWithOptionalList(); // Empty object list

            Assert.IsTrue(SwagValidator.Validate(obj6));
        }