Skip to content

Commit

Permalink
# added activesupport to template
Browse files Browse the repository at this point in the history
  • Loading branch information
nhtruong committed Dec 16, 2024
1 parent 3b2381d commit 38926b4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
3 changes: 0 additions & 3 deletions api_generator/lib/components/api_path.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ class ApiPath
# @param [String] url
def initialize(url)
@url = url
puts url
puts "COMPONENTS: #{components}"
puts "BUILD: #{build}"
end


Expand Down
1 change: 1 addition & 0 deletions api_generator/lib/templates/client.mustache
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{{{license_header}}}
{{{generated_code_warning}}}

require 'active_support/all'
require 'opensearch/transport'
require 'opensearch/api'
Dir[File.expand_path('opensearch/api/**/*.rb', __dir__)].sort.each { |f| require f }
Expand Down
1 change: 1 addition & 0 deletions lib/opensearch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
# This file is generated from the OpenSearch REST API spec.
# Do not modify it by hand. Instead, modify the generator or the spec.

require 'active_support/all'
require 'opensearch/transport'
require 'opensearch/api'
Dir[File.expand_path('opensearch/api/**/*.rb', __dir__)].sort.each { |f| require f }
Expand Down

0 comments on commit 38926b4

Please sign in to comment.