Include fluent methods in Schema to add types and examples
alex-albericio opened this issue · comments
Alex Albericio commented
In order to allow chaining with the rest of fluent methods in Schema
(of swagger-models), there should be methods to add a type or an example that return the updated Schema, similar to existing ones such as addRequiredItem
or addProperty
.