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 have some TLAs as tags and as parameters in my openapi.yaml
In the generated code TLAs becomes tl_as
Usually the splitting/pythonization of names works as I intend but in this case it doesn't
I'm not sure if the
class_overrides:
_PrivateInternalLongName:
class_name: ShortName
module_name: short_name
is supposed to allow me to short circuit this or do I need to file a bug for another feature like skip_rename_token setting?
I tried to use the class_overrides without effect, maybe I'm using it wrong. should _PrivateInternalLongName be the name of the generated modules/classes/ parameters? or the name in the openapi file? or is the override not supported for tags/parameter names?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have some TLAs as tags and as parameters in my openapi.yaml
In the generated code TLAs becomes tl_as
Usually the splitting/pythonization of names works as I intend but in this case it doesn't
I'm not sure if the
class_overrides:
_PrivateInternalLongName:
class_name: ShortName
module_name: short_name
is supposed to allow me to short circuit this or do I need to file a bug for another feature like skip_rename_token setting?
I tried to use the class_overrides without effect, maybe I'm using it wrong. should _PrivateInternalLongName be the name of the generated modules/classes/ parameters? or the name in the openapi file? or is the override not supported for tags/parameter names?
Beta Was this translation helpful? Give feedback.
All reactions