public void OptioanlStringListWithValueTest()
        {
            var obj1 = new ObjWithOptionalList()
            {
                OptionalStringCollection = new List <string>()
                {
                    "Test"
                },
            };

            Assert.IsTrue(SwagValidator.Validate(obj1));
        }
        public void OptioanlStringListWithOutValueTest()
        {
            var obj2 = new ObjWithOptionalList(); // Empty string list

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