Skip to content

Commit

Permalink
Set name converter to snake case
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenvdlinde committed Dec 10, 2019
1 parent 813e581 commit c8233fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/config/packages/api_platform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ api_platform:
enable_re_doc: true

# In the NL api strategie we use snake case for naming
# name_converter: 'Symfony\Component\Serializer\NameConverter\CamelCaseToSnakeCaseNameConverter'
name_converter: 'Symfony\Component\Serializer\NameConverter\CamelCaseToSnakeCaseNameConverter'

# Lets confirm to JSON-HA: first, as per common ground. But allow other serializers
formats:
Expand Down

0 comments on commit c8233fc

Please sign in to comment.