fateevv85 / phrase-php

auto-generated PHP API client for Phrase
https://developers.phrase.com/api/
MIT License
0 stars 0 forks source link

Error on try to get screenshotMarkersList #1

Open fateevv85 opened 3 years ago

fateevv85 commented 3 years ago

@rlisowski i cant find a way to create an issue in phrase-php project, so create it here

I try to get screenshot markers list by \Phrase\Api\ScreenshotMarkersApi::screenshotMarkersList, but there is an error then api try to deserialize phrase response to \Phrase\Model\ScreenshotMarker.

Response from \Phrase\Api\ScreenshotMarkersApi::screenshotMarkersList request: 1 Here "presentation" is stdClass object.

Method \Phrase\ObjectSerializer::deserialize try to deserialize it to string (because ScreenshotMarker $openAPITypes for property presentation is string): image and fails with exception: "Object of class stdClass could not be converted to string".

fateevv85 commented 3 years ago

@theSoenke