A javascript validator for Swagger Models