swagger-core icon indicating copy to clipboard operation
swagger-core copied to clipboard

Include fluent methods in Schema to add types and examples

Open alex-albericio opened this issue 1 year ago • 0 comments

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.

alex-albericio avatar Apr 09 '24 09:04 alex-albericio