We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
jsonapi-validator requires resources to have an id https://github.com/elliotttf/jsonapi-validator/blob/master/lib/schema.json#L122
id
However, there is an exception to this rule in the JSON API specification (http://jsonapi.org/format/#document-resource-objects).
Exception: The id member is not required when the resource object originates at the client and represents a new resource to be created on the server.
Should jsonapi-validator be updated to take this case into account ?
The text was updated successfully, but these errors were encountered:
Update jsonapi-validation to have proper required fields for resources
c60e301
See elliotttf/jsonapi-validator#29
0b861ff
5cba67c
Yes! This is an issue that should be fixed in jsonapi though. You can probably just take that schema and apply it directly.
Sorry, something went wrong.
No branches or pull requests
Hi,
jsonapi-validator requires resources to have an
id
https://github.com/elliotttf/jsonapi-validator/blob/master/lib/schema.json#L122However, there is an exception to this rule in the JSON API specification (http://jsonapi.org/format/#document-resource-objects).
Should jsonapi-validator be updated to take this case into account ?
The text was updated successfully, but these errors were encountered: