lib//meta/application/route.rb in meta-api-0.0.9 vs lib//meta/application/route.rb in meta-api-0.1.0
- old
+ new
@@ -37,9 +37,9 @@
return false unless @method == :all || @method.to_s.upcase == method
return true
end
def generate_operation_doc(schemas)
- meta.generate_operation_doc(schemas, scope: [method])
+ meta.generate_operation_doc(schemas, scope: ["$#{method}"])
end
end
end