Skip to content
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

Fix descriptor #27

Merged
merged 1 commit into from Jan 10, 2017
Merged

Fix descriptor #27

merged 1 commit into from Jan 10, 2017

Conversation

bakura10
Copy link
Member

This PR fixes some minor issues in the descriptor. Also, it changes some "array" type to "object" type.

Previously, parameters that looked like this:

"image": {
   "src": "abc"
}

and

"variants": [
   {
   },
   {
   }
]

were represented using the "array" type. Actually, the first one should be a type "object", while the second should be array.

This didn't make any difference as it was serialized the same way, but it's better to keep a more precise semantics to have better validation by the Guzzle client.

@bakura10 bakura10 merged commit 042cc30 into master Jan 10, 2017
@bakura10 bakura10 deleted the fix-nested branch January 10, 2017 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants