Skip to content

Commit

Permalink
Merge pull request #1 from shaikegross/add-date-format-to-zod-date-ob…
Browse files Browse the repository at this point in the history
…ject

added format: date-time to  for  in Usage: openapi-generator [options…
  • Loading branch information
shaikegross committed Nov 6, 2023
2 parents 81d16d5 + 5dac8b5 commit 92049b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/openapi-generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1025,6 +1025,7 @@ export class OpenAPIGenerator {
return {
...this.mapNullableType('string', isNullable),
default: defaultValue,
format: 'date-time',
};
}

Expand Down

0 comments on commit 92049b9

Please sign in to comment.