Skip to content

[PHP] fix __toString for nested models#1916

Merged
wing328 merged 2 commits intoswagger-api:masterfrom
wing328:php_model_str_to_json
Jan 18, 2016
Merged

[PHP] fix __toString for nested models#1916
wing328 merged 2 commits intoswagger-api:masterfrom
wing328:php_model_str_to_json

Conversation

@wing328
Copy link
Copy Markdown
Contributor

@wing328 wing328 commented Jan 18, 2016

To fix #1914

{
    "id": 10005,
    "category": {
        "id": 10005,
        "name": "test php category"
    },
    "name": "PHP Unit Test",
    "tags": [
        {
            "id": 10005,
            "name": "test php tag"
        }
    ]
}

wing328 added a commit that referenced this pull request Jan 18, 2016
[PHP] fix __toString for nested models
@wing328 wing328 merged commit 0fa1b1a into swagger-api:master Jan 18, 2016
@wing328 wing328 deleted the php_model_str_to_json branch January 24, 2016 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PHP client model: Nested objects not converted to JSON

1 participant