marshmallow-code/apispec-webframeworks

Separate path_helper and operation_helper logic in web framework plugins

開放

#17 建立於 2018年11月3日

 (0 則留言) (0 個反應) (0 位負責人)Python (24 個分叉)github user discovery
help wantedrefactor

倉庫指標

星標
 (33 顆星)
PR 合併指標
 (平均合併 30分鐘) (30 天內合併 3 個 PR)

描述

Issue by sloria Monday Jul 30, 2018 at 00:44 GMT Originally opened as https://github.com/marshmallow-code/apispec/issues/257


From #246:

Also the web framework path helpers deal with operations quite a lot, and perhaps this logic should be split into path_helper and operation_helper. From a quick glance, the coupling between the two seems loose. Could be a bit trickier with flask due to the if method in rule.methods test, which covers what looks like a twisted but legit case (method declared in the view but not in the rule).

貢獻者指南