You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks. Yes, @who, there is currently no support for nested schemas right now. It will be added, but for now please consider using $ref syntax to flatten them out.
@who i stand corrected, the snipped you put is valid. I read it as there was a schema in a property which is not currently supported in the codegen project.
So yes, please do send a PR. Apologies for the misidentification of the issue.
If you have nested models in your swagger spec, the nested object does not deserialize correctly.
Given this Swagger 2.0 spec snippet:
The PHP client will yield this JSON when returning Book responses.
The fix for this appears to be in the
deserialize()
method of APIClient.MustacheHere's the apparent fix:
Change this:
To this:
The text was updated successfully, but these errors were encountered: