Extension of C# Client Generator #3893
-
Sometimes I have a need to generate additional methods for generated clients. I would like to know if there is an ability to extend generating functionality with my own logic? Why do I want this? Because I want to generate additional GET methods that would handle 404 errors and return default values in such cases. Something like GetOrDefault(...). If there is no way to extend existing functionality, maybe you can advise a way how I can approach my problem from a different angle. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
All generated C# classes are partial, so you can easily extend it with additional methods. |
Beta Was this translation helpful? Give feedback.
All generated C# classes are partial, so you can easily extend it with additional methods.