Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Nicolai- opened this issue Nov 30, 2022 · 2 comments
Assignees

Comments

@Nicolai-
Copy link

Nicolai- commented Nov 30, 2022

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
Copy link
Member

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 tlxtellef self-assigned this Dec 1, 2022
@tlxtellef
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants