-
Notifications
You must be signed in to change notification settings - Fork 13
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
Item validation fails if unitPrice is 0 #78
Comments
API is correct, validation should be done against only |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The OpenAPI specification states for
item.unitPrice
:The API accepts items with
unitPrice
= 0, butPaytrail\SDK\Model\Item
validation fails:paytrail-php-sdk/src/Model/Item.php
Lines 379 to 381 in c1df05e
This was changed in SDK version 2.5.1 (#74)
Which behaviour is correct, SDK or API?
The text was updated successfully, but these errors were encountered: