Skip to content

When enabeling --useDateType send the correct information to @hey-api/openapi-ts #137

Open

Description

@AnderssonPeter

Is your feature request related to a problem? Please describe.

  types: {
    dates: 'types+transform',
  },

in the configuration to @hey-api/openapi-ts currently i think it sends true but I'm not 100% sure, it seems it is done here

export function formatOptions(options: LimitedUserConfig) {

Documentation about the feature can be found here

Describe the solution you'd like
When this is done correctly both the typescript defintion should use the type Date and also the result should be Date.

Activity

  1. AnderssonPeter commented on Aug 8, 2024

    @AnderssonPeter
    Author

    I'm not 100% sure but I think #136 needs to be merged before this can be fixed.

  2. maniator commented on Apr 4, 2025

    @maniator

    What is the status of this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions