Closed mohawk2 closed 5 years ago
Further commits also added output filtering with x-filter-output
and filter yancy.wrap
.
...and on further staring at the "realworld" thingy I realised this also needs a yancy.unwrap
, which I added.
If you feel the issues are all resolved (thanks, your reviews always lead to improvements!), do you feel this ready for merging? I rebased against your latest master
.
Yes, sorry, I knew I forgot something.
Intended to increase the usefulness of filters. Allows them to be configured with parameters under
x-filter
, and also to be configured on OpenAPI operations.Also adds two filters:
yancy.from_helper
andyancy.overlay_from_helper
. These are intended for replacing either a single property, or applying to a collection or operation-input hash-ref, with a named helper.