I'm trying to add new overload for the router[method] function, to add a validation middleware easily by passing a jsonSchema as the function second parameter. Right now I only did a quick update to the lib for my use case, but if the maintainers think that this could be good to include to the router I can expend some more time working on it.
Describe the feature
I'm trying to add new overload for the router[method] function, to add a validation middleware easily by passing a jsonSchema as the function second parameter. Right now I only did a quick update to the lib for my use case, but if the maintainers think that this could be good to include to the router I can expend some more time working on it.
example usage:
Checklist