GoIntegro / hateoas

You already have a beautiful HATEOAS API. You just don't know it yet.
http://www.gointegro.com/en/
MIT License
40 stars 9 forks source link

json api body parser not conforming to json-schema.org spec #29

Open bedes opened 9 years ago

bedes commented 9 years ago

Hi Guys, I'm receiving a ERROR_MALFORMED_SCHEMA exception when using a schema for my POST endpoint. https://github.com/GoIntegro/hateoas/blob/master/JsonApi/Request/BodyParser.php#L217

^ Seems to expect the resource name to be an attribute (property) of the resource. http://json-schema.org/examples.html

Cheers.