# File lib/apipie/routes_formatter.rb, line 18 def format_path(rails_route) rails_route.path.spec.to_s.gsub('(.:format)', '') end