Skip to content
This repository was archived by the owner on Dec 31, 2025. It is now read-only.

Fix z.coerce.date() rendering as nullable in OpenAPI #13

@coderabbitai

Description

@coderabbitai

The z.coerce.date() is being rendered as nullable in the OpenAPI schema.

Related issue: asteasolutions/zod-to-openapi#286

Location: src/schema.ts

// TODO: z.coerce.date() rendered as nullable
// See also: https://github.com/asteasolutions/zod-to-openapi/issues/286

This TODO should be addressed once the upstream issue is resolved.

Found in PR: #11
Comment: #11 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions