Skip to content

Commit

Permalink
Merge pull request #57 from funbox/fix_openapi2
Browse files Browse the repository at this point in the history
Fix openapi2
  • Loading branch information
tuwilof authored Feb 1, 2023
2 parents e62ee74 + 4e1c1a2 commit f67a09a
Show file tree
Hide file tree
Showing 8 changed files with 14,182 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Change log

### 3.1.4 - 2023-02-01

* bug fixes
* fix parser parameters for openapi version 2

### 3.1.3 - 2021-11-09

* features
Expand Down
1 change: 1 addition & 0 deletions lib/tomograph/openapi/openapi2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ def initialize(prefix, json_schema_path)
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,
Expand Down
2 changes: 1 addition & 1 deletion lib/tomograph/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Tomograph
VERSION = '3.1.3'.freeze
VERSION = '3.1.4'.freeze
end
File renamed without changes.
Loading

0 comments on commit f67a09a

Please sign in to comment.