miketrionfo/Swagger.Net — pull request #15 by danieleli (2012-11-04 17:19:09+00:00)
Title: TDD

Hey, nice work on the library and nuget packaging!

I went to add models to the returned JSON but I kept getting confused. and two days later, I've completely re-written your library! (well... almost)

I'm a big fan of single responsibility and TDD so that was the driver behind most refactors. I tend to use controllers as parameter aggregators and then pass work off to a mediator class, in this case the factory classes.

I also included diagrams of the models we are translating.

Anyway, check it out. I'd love to hear your feedback!

thanks,
Dan