diff --git a/src/OpenApiValidation.php b/src/OpenApiValidation.php index bdfebae..4ec6c03 100644 --- a/src/OpenApiValidation.php +++ b/src/OpenApiValidation.php @@ -87,10 +87,6 @@ public function __construct($schema, array $options = []) // Password validator only checks that it's a string, as format=password only is a hint to the UI $this->formatResolver->register("string", "password", new OpenApiValidation\Formats\PasswordValidator()); - - - // Register our prime number format - $formats->registerCallable("integer", "prime", $isPrime); }