I just delivered some significant updates to the Swagger DTO API. These will be delivered as a part of 7.1.0.
New generalized getter and setter methods allow you to now set arbitrary fields:
The get/set methods can be used on existing properties as well.
The helper setter methods can now take in JSON as well as beans:
Other changes:
- The toString() method serializes directly to JSON.
- All the Javadocs have been cleaned up.
- Added 250+ JUnit testcases to cover the Swagger DTO.