RavenDB-2682 Create validation endpoint for user defined functions