Tripletex / tripletex-api2

Tripletex API 2 resources and examples
MIT License
38 stars 43 forks source link

[BUG] OpenAPI client validation fails cause response returns a larger string than what is defined in swagger.json #70

Closed Nicolai- closed 1 year ago

Nicolai- commented 1 year ago

Hi,

We are having an issue where the definition says the max length of the displayName on the Address is 100, but the API returns a response with a displayName of 120 characters, which means the client built on the definition cannot decode the response and throws an exception

It is the postalAddress and physicalAddress on Supplier object

tlxtellef commented 1 year ago

That is a bug indeed, that field is actually read-only. What had happened is that a validation rule had been placed on it by mistake.

tlxtellef commented 1 year ago

This issue should be resolved now, a fix for this was deployed yesterday.