Skip to content

Commit 58fd387

Browse files
authored
fix(valibot): use v.isoTimestamp instead of v.isoDateTime for OpenAPI's date-time
1 parent d20e3a9 commit 58fd387

File tree

1 file changed

+1
-1
lines changed
  • packages/openapi-ts/src/plugins/valibot

1 file changed

+1
-1
lines changed

packages/openapi-ts/src/plugins/valibot/plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ const stringTypeToValibotSchema = ({
542542
compiler.callExpression({
543543
functionName: compiler.propertyAccessExpression({
544544
expression: identifiers.v,
545-
name: identifiers.actions.isoDateTime,
545+
name: identifiers.actions.isoTimestamp,
546546
}),
547547
}),
548548
);

0 commit comments

Comments
 (0)