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
In the API we are generating for an interface we are using, over 300 BodyXXX classes are generated.
When regenerating the API because new methods have been added, the Numbers of the Body classes are changing and we have to change the code which uses them accordingly.
Is there a way to have proper names for the Body classes, so we have a stable API for the parts which are not changing?
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
-
When generating Java code from the petstore.json a Body.java and Body1.java class are generated.
In the API we are generating for an interface we are using, over 300 BodyXXX classes are generated.
When regenerating the API because new methods have been added, the Numbers of the Body classes are changing and we have to change the code which uses them accordingly.
Is there a way to have proper names for the Body classes, so we have a stable API for the parts which are not changing?
Beta Was this translation helpful? Give feedback.
All reactions