public string GetSwaggerApiList()
        {
            var allApiControllers       = _swaggerDocumentationAssemblyTools.GetApiControllerTypes(typeof(TBaseApiControllerType));
            var pertinentApiControllers = _swaggerDocumentationAssemblyTools.GetTypesThatAreDecoratedWithApiDocumentationAttribute(allApiControllers);
            var swaggerContents         = _swaggerDocumentationCreator.GetSwaggerResourceList(pertinentApiControllers);

            return(_jsonSerializer.SerializeObject(swaggerContents));
        }
        public void TypesThatContainApiDocumentationAttribute_WhereClassContainsApiDocumentationAttribute_ReturnsFirstControllerAndThirdController()
        {
            var result = _swaggerDocumentationAssemblyTools.GetTypesThatAreDecoratedWithApiDocumentationAttribute(new List <Type>
            {
                typeof(FirstController),
                typeof(SecondController),
                typeof(ThirdController),
                typeof(FourthController)
            });

            Assert.AreEqual(3, result.Count);
            Assert.IsTrue(result.Contains(typeof(FirstController)));
            Assert.IsTrue(result.Contains(typeof(ThirdController)));
            Assert.IsTrue(result.Contains(typeof(FourthController)));
        }