Christian Fruth

Results 10 comments of Christian Fruth

Ran into the same problem. I have a property which, depending on some application setting, has either to be bound to a vaadin-integer-field or some custom element. That value has...

@Legioth Has another situation where my extended version of the field-directive which supports converts was very helpful. I had to implement some kind of event editor dialog where the user...

@otusweb I downgraded openapi-generator to 6.0.0 but got exactly the same problem. Add the 4 methods for encoding/decoding also solves the problem.

Hi @Jonas1893 > Does this also work if there are attributes like this in the swagger? > Because I guess with your change they would now also be decoded from...

Hi @otusweb > ``` > "Value": { > "format": "decimal", "description": "the value of the campaign. > Applies to percent, new price, discount campaign type. Other campaign type use valueX...

@Jonas1893 That are different datatypes (Double vs. Decimal) and they can / will be treated differently by Apples Json-Decoder / -Encoder. The code I suggested only extend encoding / decoding...

@otusweb I'm pretty sure that @wing328 who added support for Decimal in Swift-Clients in OpenAPI Generator (type string / format number) did some testing so why didn't he get errors...

@otusweb Ok, that will explain why it's working for you. You signal in your service description that the server will send a _string_ that should be interpreted as a decimal....

Hi @ladislas Thanks for the info, i will have a look and will post here if i have some news.

@ladislas Uuuu, sorry completely forgot about this one. I have to look