Skip to content

Commit

Permalink
fix #3
Browse files Browse the repository at this point in the history
  • Loading branch information
MarioRuiz committed Mar 5, 2020
1 parent cce690a commit d5b4a37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/open_api_import.rb
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ def self.from(swagger_file, create_method_name: :operation_id, include_responses
paramst.concat params
params = paramst
end

params.uniq!
output << "def self.#{method_name} (#{params.join(", ")})"

output << "{"
Expand Down
2 changes: 1 addition & 1 deletion open_api_import.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Gem::Specification.new do |s|
s.name = 'open_api_import'
s.version = '0.10.1'
s.version = '0.10.2'
s.summary = "OpenApiImport -- Import a Swagger or Open API file and create a Ruby Request Hash file including all requests and responses with all the examples. The file can be in JSON or YAML"
s.description = "OpenApiImport -- Import a Swagger or Open API file and create a Ruby Request Hash file including all requests and responses with all the examples. The file can be in JSON or YAML"
s.authors = ["Mario Ruiz"]
Expand Down

0 comments on commit d5b4a37

Please sign in to comment.