Support for java.math.BigDecimal
Closed this issue ยท 4 comments
ArturSydor commented
Reason/Context
In java applications for working with decimal numbers we usually use java.math.BigDecimal, because double is not so accurate, but current generator version is not supporting this type. As workaround we can use String, but this requires additional conversation on java side. Would be very helpful to have BigDecimal as part of this generator.
Tenischev commented
Hello @ArturSydor
for which type or format of parameter in AsyncApi you suggest to use BigDecimal?
ArturSydor commented
Hello @Tenischev
i would suggest to use
type: string
format: decimal
Tenischev commented
Hello @ArturSydor
Your feedback regarding PR #324 is welcome
asyncapi-bot commented
๐ This issue has been resolved in version 1.2.0 ๐
The release is available on:
Your semantic-release bot ๐ฆ๐