Reversing whitespace change
This commit is contained in:
parent
e8b10998ed
commit
8f87458787
|
|
@ -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?
|
||||
|
|
|
|||
Loading…
Reference in New Issue