swagger-core
swagger-core copied to clipboard
Include fluent methods in Schema to add types and examples
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.