lib//meta/application/route.rb in meta-api-0.1.1 vs lib//meta/application/route.rb in meta-api-0.1.2

- old
+ new

@@ -37,9 +37,10 @@ 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}"]) + # 不再自动添加 $post 等 scope + meta.generate_operation_doc(schemas, scope: []) end end end