api-platform / api-platform/core

add operation attribute to hydra response

Abierto
#2,588 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
PHP
Estrellas
2.6k
Forks
980
Merge medio
2 d 5 h
PR fusionados (30 d)
48

Descripción

Hi,

Is it possible now to add the operation attribute to your hydra response? It's explained in the hydra documentation: https://www.hydra-cg.com/spec/latest/core/#example-6-a-representation-of-an-issue-augmented-with-a-delete-operation

I've searched the codebase and found that their is a JsonLdContextTrait.php that will add a context, but I couldn't find a trait that adds the operations of the resource to the response.

Thx in advance!
Arne

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.