codecutout/JsonApiSerializer

convert Type Name

Closed this issue · 1 comments

how can i convert the class type name to snake case ?

You will need to configure a custom ResourceObjectConverter and override GenerateDefaultTypeName. That said the recommendation now in json:api is not to use snake casing any more https://jsonapi.org/recommendations/#naming.