cli
cli copied to clipboard
[FEATURE] Possibility to pass render config to Modelina
Why do we need this improvement?
Modelina would supports a host of different options to tweak the generated models. We for instance need Enum values to be generated in CamelCase instead of the default UPPER_CASE.
Unfortunately, using asyncapi generate models kotlin does not allow to specify any of this config options apart from the package name, making the CLI too rigid.
How will this change help?
Being able to tweak the generated models allows for greater flexibility.
Screenshots
No response
How could it be implemented/designed?
I would like to pass on all possible flags when generating the model classes like for instance
asyncapi generate models kotlin --enumKeyNamingFormat=camel_case ...
🚧 Breaking changes
No
👀 Have you checked for similar open issues?
- [x] I checked and didn't find a similar issue
🏢 Have you read the Contributing Guidelines?
- [x] I have read the Contributing Guidelines
Are you willing to work on this issue?
None
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.
Hey @Souvikns could you also have a look at this as i believe that this is also something required to be modified in modelina and not only on cli side.
@Souvikns we can transfer this issue to modelina thanks : )
/ti modelina
This issue has been automatically marked as stale because it has not had recent activity :sleeping:
It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation.
There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.
Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here.
Thank you for your patience :heart: