yahehe / Nancy.Swagger

Nancy plugin for generated API documentation in Swagger format.
MIT License
133 stars 60 forks source link

Implement Reference property in DataTypeBuilder, and add tests #135

Closed yahehe closed 7 years ago

yahehe commented 7 years ago

Also added xunit.runner to Swagger.ObjectModel project, CLI tools for the win

yahehe commented 7 years ago

The tests are pretty tedious, each property has two tests: 1) Is it initialized the way we expect (usually null) 2) Is it settable (usually yes, Ref was an exception until now)