Method: Jdoc::Link::RequestGenerator.call
- Defined in:
- lib/jdoc/link.rb
.call(properties) ⇒ Hash
Note:
Not includes properties that have readOnly property
Generates example request body from given schema
262 263 264 |
# File 'lib/jdoc/link.rb', line 262 def self.call(properties) ResponseGenerator.call(properties.reject {|key, value| value.data["readOnly"] }) end |