% # @mheap: This is hacky handling for allOf, but it works for now allOf = schema['allOf'] if allOf schema = allOf.reduce { |a,b| a.deep_merge(b) } end %> <% # If it's an array, look at the items for the response schema as all items within # the array are expected to be identical schema = schema['items'] if schema['type'] == 'array' %> <% if schema['properties'] %> <% schema['properties'].each do |key, value| %> <% next if key == '_links' next if value['x-skip-response-description'] parent = "#{endpoint.method}_#{endpoint.path.path.gsub("/", "_")[1..-1]}" unless parent responseFieldId = parent + "_" + key %>
Field | Description |
---|