public void TestSwaggerModelConverter()
        {
            var result = new SwaggerDataTypeModels {
                typeof(ExampleModel)
            };

            Assert.AreEqual("{'ExampleModel':{" +
                            "'id':'ExampleModel'," +
                            //"'required':null," +
                            "'properties':{" +
                            "'Field0':{'type':'integer'}," +
                            "'Field1':{'type':'string'}," +
                            "'Field2':{'type':'array','items':{'type':'string'}}," +
                            "'Field3':{'$ref':'InnerModel'}," +
                            "'Field4':{'type':'array','items':{'$ref':'InnerModel'}}," +
                            "'Field5':{'type':'string','enum':['EnumValue1','EnumValue2']}," +
                            "'Field6':{'type':'boolean'}" +
                            "}},'InnerModel':{" +
                            "'id':'InnerModel'," +
                            //"'required':null," +
                            "'properties':{" +
                            "'InnerAttribute':{'type':'integer'}" +
                            "}}}",
                            JsonConvert.SerializeObject(result).Replace("\"", "'"));
        }
        public void TestSwaggerModelConverterForEnumerable()
        {
            var result = new SwaggerDataTypeModels {
                typeof(List <InnerModel>)
            };

            Assert.AreEqual("{'InnerModel':{" +
                            "'id':'InnerModel'," +
                            //"'required':null," +
                            "'properties':{" +
                            "'InnerAttribute':{'type':'integer'}" +
                            "}}}",
                            JsonConvert.SerializeObject(result).Replace("\"", "'"));
        }