lib/tomograph/openapi/openapi2.rb in tomograph-3.1.3 vs lib/tomograph/openapi/openapi2.rb in tomograph-3.1.4
- old
+ new
@@ -9,9 +9,10 @@
end
def to_tomogram
@tomogram ||= @documentation['paths'].each_with_object([]) do |action, result|
action[1].keys.each do |method|
+ next result if method == 'parameters'
result.push(Tomograph::Tomogram::Action.new(
path: "#{@prefix}#{action[0]}",
method: method.upcase,
content_type: '',
requests: [],