lib/lurker/endpoint.rb in lurker-0.5.3 vs lib/lurker/endpoint.rb in lurker-0.5.4
- old
+ new
@@ -93,10 +93,10 @@
def description
@schema["description"]
end
def url_params
- (schema.extensions['path_params'] || {}).except('action', 'controller')
+ (schema.extensions['path_params'] || {}).reject { |k, _| ['action', 'controller', 'format'].include? k }
end
def query_params
(schema.extensions['query_params'] || {})
end