Skip to content

[FEATURE] add optional flag rawPropertyNames to TypeScriptFileGenerator #1359

Closed

Description

@FranciscoGaspar

Why do we need this improvement?

Right now there is no way to generate models using raw property names in typescript. The CLI does not support this.

We can find more info about raw property names on Modelina Documentation.

How will this change help?

The user of the cli will have the option to generate models for typescript with raw property names.

Screenshots

No response

How could it be implemented/designed?

Just need to add a new optional flag to the generate command. This flag can be passed to the constructor of the TypeScriptFileGenerator.

🚧 Breaking changes

No

👀 Have you checked for similar open issues?

  • I checked and didn't find a similar issue

🏢 Have you read the Contributing Guidelines?

Are you willing to work on this issue?

Yes I am willing to submit a PR!

Activity

  1. added
    enhancement
    on Apr 10, 2024
  2. github-actions commented on Apr 10, 2024

    @github-actions
    Contributor

    Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our contributors guide and the instructions about a basic recommended setup useful for opening a pull request.
    Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.

  3. moved this from Backlog to Done in CLI - Kanbanon May 17, 2024
  4. asyncapi-bot commented on May 17, 2024

    @asyncapi-bot
    Contributor

    🎉 This issue has been resolved in version 1.15.0 🎉

    The release is available on:

    Your semantic-release bot 📦🚀

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

    enhancementreleased

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions