Hello,
We are making an API that will return the value of an enum.
this enum has the labels in english and in french.
When the user calls the API, it appears that the language is by default set to english. Therefore, the returned values are in english. But we would like to have the french values instead. We noticed that using something like Swagger (with the user that has its language to french), the values are returned in french.
Can we tell in the class that we want to have the context of this call to be handled in french?
Thanks for the help. And please let me know if I am not clear.