Skip to content
This repository was archived by the owner on Sep 14, 2022. It is now read-only.
This repository was archived by the owner on Sep 14, 2022. It is now read-only.

Error: Response validation failed: failed schema validation with format "date-time" #293

@glederrey

Description

@glederrey

Hi,

I just experienced a weird error.. I'm using swagger node to create a mock server with my spec.. I found that there is a 500 error if we set a value like this:
"doc_created": { "type": "string", "format": "date-time" }
I have the same error if I use the format "date". But without any format, it's working fine.. Do you think that, currently, swagger-node cannot produce a mock server sending "date-time" and "date" format responses??

Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions