Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] add optional flag rawPropertyNames to TypeScriptFileGenerator #1359

Closed
2 tasks done
FranciscoGaspar opened this issue Apr 10, 2024 · 2 comments · Fixed by #1362
Closed
2 tasks done

[FEATURE] add optional flag rawPropertyNames to TypeScriptFileGenerator #1359

FranciscoGaspar opened this issue Apr 10, 2024 · 2 comments · Fixed by #1362
Labels
enhancement New feature or request released

Comments

@FranciscoGaspar
Copy link
Contributor

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!

@FranciscoGaspar FranciscoGaspar added the enhancement New feature or request label Apr 10, 2024
Copy link
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.

@asyncapi-bot
Copy link
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
Labels
enhancement New feature or request released
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants