0 votes

Please can you help me if a solution exist.
I need to add custom annotation when export entities

In ApiPlatflorm Bundle i need this annotation: @Apiplatform()

And use statment

use ApiPlatform\Core\Annotation\ApiResource;

thanks a lot

in How To & Manuals by (220 points)

1 Answer

0 votes
Best answer

By default, skipper can export only @ORM annotations. It's possible to write the extension which exports also other annotations (for example already implemented @Gedmo) but it's not such easy.

You can check gedmo configuration files to see how is it implemented.

by Skipper developer (141k points)
selected by

You can also check https://help.skipper18.com/expert-usage/customization/configuration-files/ help section where are described mechanisms used to export data from Skipper model files

Write extension