You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying use custom generate templates and want to add some methods for only response models. For define what is request or response I have suffixes for models. But for now I can't define it in template
(Although needs better documenting in #1487, an alternate path for now is to add them to call oapi-codegen as a library, where you can modify this in your own code)
Activity
jamietanna commentedon Apr 15, 2024
Would be happy to review a PR to add them to the
TemplateFunctions(Although needs better documenting in #1487, an alternate path for now is to add them to call
oapi-codegenas a library, where you can modify this in your own code)maks56893 commentedon Apr 15, 2024
here is PR
yakovlef commentedon Nov 5, 2026
hi, is this still relevant? dont see hasPrefix/hasSuffix in TemplateFunctions on main and old PR was closed. can send small PR with tests if ok