We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c358c4 commit a28887cCopy full SHA for a28887c
1 file changed
app/helpers/MetaFormats/Validators/VTimestamp.php
@@ -5,13 +5,13 @@
5
use App\Helpers\MetaFormats\PhpTypes;
6
use App\Helpers\MetaFormats\PrimitiveFormatValidators;
7
8
-class VTimestamp
+/**
9
+ * Expects unix timestamps.
10
+ */
11
+class VTimestamp extends VInt
12
{
- public const SWAGGER_TYPE = "string";
-
- public function validate(mixed $value): bool
13
+ public function getExampleValue(): string
14
- ///TODO: check if timestamp
15
- return true;
+ return "1740135333";
16
}
17
0 commit comments