Closed locallycompact closed 6 months ago
@joel-bach I guess multipleOf
doesn't allow for non-integer values. Is that according to spec?
I had a look at the spec which does only mention this to be a number greater than zero. Therefore I think the presented specification is indeed valid and it is a parsing problem on our side. Considering that the code generator does not do anything with that value, I am in favor of changing it to allow floating point numbers as well. I'll have a look tomorrow.
Hey @locallycompact , this should be fixed by https://github.com/Haskell-OpenAPI-Code-Generator/Haskell-OpenAPI-Client-Code-Generator/pull/95 which has been merged to master. I'll close this issue as I am confident with the fix but please let me know if it does not work for some reason 🙏
Trying to use this tool to convert the specification here: https://developer.service.hmrc.gov.uk/api-documentation/docs/api/service/vat-api/1.0/oas/page
Results: