Skip to content

Java & Kotlin - type mapping support in the asyncapi cli #2397

@ahmetcetin39

Description

@ahmetcetin39

Why do we need this improvement?

As Kotlin user, would appreciate to have the data mapping support so that I could map type such as Double -> BigDecimal to avoid possible side-effects.
Double -> BigDecimal is the only issue with type mapping we had, but considering other users might have different use cases, I am creating the ticket for general type mapping.

How will this change help?

It will help Java & Kotlin users to have type mapping so they don't need to use default mapping of types.

Screenshots

No response

How could it be implemented/designed?

Having another flag in the asyncapi generate model to support type mapping, something like --kotlinTypeMapping

🚧 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?

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    To Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions