Symfony API Platform hide serializer groups in ReDoc documentation

Viewed 19

I'm currently working on an implementation with API Platform 2.7 and Symfony 5.4

And when API Platform generates the schema it generates the object according the the serializer group I attached it to namely order:write.

I would like to be able to hide the serializer group (-order.write) from the object definition and just leave it at object (Amount). The image below displays the current situation.

My entire API Platform & Serializer configuration is written in XML and I seem to be unable to find where I can turn off the option to display the group in the name.

I found this section on the API Platform documentation: https://api-platform.com/docs/core/openapi/#changing-the-name-of-a-definition but attempting to reproduce this in XML let to no result.

ReDoc documentation with serializer group

Hopefully any sharp mind here is able to point me in the right direction or could prove me wrong and show me why to keep it.

Thanks in advance!

0 Answers
Related