Skip to content

Don't generate format: date as Foundation.Date, use a string #136

Closed
@czechboy0

Description

@czechboy0

This comment from @yanniks made me check what type we generate for format: date (not date-time), and it's Foundation.Date. That's wrong, as Foundation.Date only represents a full timestamp (aka date-time in OpenAPI terms).

This is an oversight, we should just generate a simple string, as there isn't an obvious currency type to deserialize dates (without time) into.

Should be as simple as removing .date from here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/openapiAdding/updating a feature defined in OpenAPI.kind/bugFeature doesn't work as expected.size/SSmall task. (A couple of hours of work.)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions