lib/apipie/swagger_generator.rb
#--------------------------------------------------------------------------
# Auto-insertion of parameters that are implicitly defined in the path
#--------------------------------------------------------------------------
Auto-insertion of parameters that are implicitly defined in the path
Auto - insertion of parameters that are implicitly defined in the path
def param_names_from_path(path)
      path.scan(/:(\w+)/).map do |ar|
        ar[0].to_sym
      end
    end
def param_names_from_path ( path ) path . scan ( / :( \w +) / ) . map do | ar | ar [ 0 ] . to_sym end end
Auto-insertion of parameters that are implicitly defined in the path
Auto - insertion of parameters that are implicitly defined in the path
path
<not_specific>