diff --git a/templates/graphql/docs/example.md.twig b/templates/graphql/docs/example.md.twig index 1b8a85271..3840ac7fd 100644 --- a/templates/graphql/docs/example.md.twig +++ b/templates/graphql/docs/example.md.twig @@ -58,7 +58,7 @@ mutation { {%~ for definition in spec.definitions %} {%~ if definition.name == method.responseModel %} {%~ for property in definition.properties | filter(p => p.required) %} - {{ property.name | caseCamel }} + {{ property.name | replace({'$': '_'}) }} {%~ endfor %} {%~ if definition.additionalProperties %} data