Right now jsonApiType is using for resource type and in URI builder. But in JSON:API specification there is no rule to keep them same.
Example:
I have resource with type: "Truck", but it's listed in GET /cars endpoint.
I propose to have extra property which will be used in URI path. If it's value is undefined or null - then jsonApiType will be used as it's working now.
Right now
jsonApiTypeis using for resourcetypeand in URI builder. But in JSON:API specification there is no rule to keep them same.Example:
I have resource with
type: "Truck", but it's listed inGET /carsendpoint.I propose to have extra property which will be used in URI path. If it's value is
undefinedornull- thenjsonApiTypewill be used as it's working now.