-
In the docs, there is a guide on how to do it in Symfony. like the json keys from camelCase to snake_case https://api-platform.com/docs/core/serialization/#name-conversion-for-symfony How to do it for laravel? |
Beta Was this translation helpful? Give feedback.
Answered by
Seb33300
May 19, 2025
Replies: 1 comment 1 reply
-
Unfortunately, it seems to be hardcoded for now: Someone will have to create a PR to implement that feature. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
soyuka
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Unfortunately, it seems to be hardcoded for now:
https://github.com/api-platform/core/blob/b6080d4191c5ad10509257290564e37e8c555078/src/Laravel/ApiPlatformProvider.php#L322
Someone will have to create a PR to implement that feature.