open-api icon indicating copy to clipboard operation
open-api copied to clipboard

Schema validation

Open ojongerius opened this issue 7 years ago • 0 comments

Validation of particularly createCommunityEvent is a big clunky. We could create an object, populate it with all the fields that are appropriate and do one validation instead. This can be re-used for the update function (#187) too.

Possible library that is up to date and fast would be https://github.com/epoberezkin/ajv

ojongerius avatar Jun 07 '18 02:06 ojongerius