🐛 Wrong type
The request type for put_role_mapping does not have the role_templates field.
May also apply to the get_role_mapping response type, i guess.
Definition
See https://www.elastic.co/guide/en/elasticsearch/reference/8.7/security-api-put-role-mapping.html#security-api-put-role-mapping-request-body.