We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8b1099 commit 8f87458Copy full SHA for 8f87458
lib/grape-swagger.rb
@@ -97,7 +97,7 @@ def self.setup(options)
97
:nickname => route.route_method + route.route_path.gsub(/[\/:\(\)\.]/,'-'),
98
:httpMethod => route.route_method,
99
:parameters => parse_header_params(route.route_headers) +
100
- parse_params(route.route_params, route.route_path, route.route_method)
+ parse_params(route.route_params, route.route_path, route.route_method)
101
}
102
operations.merge!({:responseClass => route.route_entity.to_s.split('::')[-1]}) if route.route_entity
103
operations.merge!({:errorResponses => http_codes}) unless http_codes.empty?
0 commit comments