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
Is your feature request related to a problem? Please describe.
This feature request stems from my problem with a large json where the method parameters share the same class name but have different ancestor paths like.
This results in classes being generated with names InputType, InputType1, InputType2,...
Describe the solution you'd like
I can imagine two possible solutions, either to have an option to prefix the class name with their ancestor(s) or introduce a custom attribute in the schema definition indicating the target class name somehow (not sure if openapi allows that however)
Describe alternatives you've considered
The cleanest alternative would be to fix the json here, however that is not (easily) possible in all situations
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
This feature request stems from my problem with a large json where the method parameters share the same class name but have different ancestor paths like.
This results in classes being generated with names InputType, InputType1, InputType2,...
Describe the solution you'd like
I can imagine two possible solutions, either to have an option to prefix the class name with their ancestor(s) or introduce a custom attribute in the schema definition indicating the target class name somehow (not sure if openapi allows that however)
Describe alternatives you've considered
The cleanest alternative would be to fix the json here, however that is not (easily) possible in all situations
The text was updated successfully, but these errors were encountered: