Hi!
Let assume we use JSON:API implementation JsonResponse for response. Response will look like:
{
data: {
// DTO fields
},
erros: [],
meta: {}
}
In such case fields data, errors and meta will be included into snipped, but actually describle JSON:API contract separatly.
Is there a way include only generic class into snipped?
Hi @dekar91,
we currently don't support JSON:API or similar specs. All response entities are taken at face value as custom response types of the project. Feel free to raise a PR for JSON:API.
Hi! Let assume we use JSON:API implementation JsonResponse for response. Response will look like:
In such case fields data, errors and meta will be included into snipped, but actually describle JSON:API contract separatly. Is there a way include only generic class into snipped?