marshmallow-code/apispec-webframeworks
Separate path_helper and operation_helper logic in web framework plugins
Aperta
#17 aperta il 3 nov 2018
help wantedrefactor
Metriche repository
- Star
- (33 stelle)
- Metriche merge PR
- (Merge medio 30m) (3 PR mergiate in 30 g)
Descrizione
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).