Closed yoichiro closed 6 years ago
@Fleker Could you review this pull request?
@atulep It would be great if you review this pull request. Thank you.
@atulep I changed both the icon and largeImage as optional at 83de6b4. Could you check them again?
Thanks a lot for taking care of this issue!
Fix the #24
What is this pull request
This pull request has a fix code to resolve the issue #24. The current code expects that each MediaObject object has an
icon
value including theurl
child value. However, it is possible to specify alargeImage
value, instead of theicon
value in the specification of the MediaObject.Both the
icon
and thelargeImage
must be applied. This pull request changes the code to apply both them.How to change the code
Currently, the
icon
property is required. I would like to change that theicon
property is optional. In addition, I would like to add a new property calledlargeImage
to themediaResponse
interface definition. Of course, thelargeImage
is also optional.