Sha256: 825ab2d8f45fadd841a9a20d1f3054fddee7e552a789f598baabfa1b6fd86258
Contents?: true
Size: 440 Bytes
Versions: 15
Compression:
Stored size: 440 Bytes
Contents
module OasRails module Spec class RequestBody include Specable include Hashable attr_accessor :description, :content, :required def initialize(specification) @specification = specification @description = "" @content = {} # a hash with media type objects @required = false end def oas_fields [:description, :content, :required] end end end end
Version data entries
15 entries across 15 versions & 1 rubygems