Reversing whitespace change

This commit is contained in:
Caleb Woods 2013-07-26 15:41:03 -04:00
parent e8b10998ed
commit 8f87458787
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ module Grape
:nickname => route.route_method + route.route_path.gsub(/[\/:\(\)\.]/,'-'),
:httpMethod => route.route_method,
:parameters => parse_header_params(route.route_headers) +
parse_params(route.route_params, route.route_path, route.route_method)
parse_params(route.route_params, route.route_path, route.route_method)
}
operations.merge!({:responseClass => route.route_entity.to_s.split('::')[-1]}) if route.route_entity
operations.merge!({:errorResponses => http_codes}) unless http_codes.empty?