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
Hi all,
I'm in the process of learning swagger-codegen and i'm surprised that there is no accessors on the members of the generators classes and also that some properties are defined in the constructors.
In order to configure the generators from the swagger-codegen-maven-plugin, i had to add the accessors ( getter/setter) and move the construction of the properties (additionalProperties, supportingFiles) in a init method which is called from the constructor and the setters.
I can submit this patch in a pull request but before i do so, i would like to know if i have missed something ? it is strange that the accessors are missing, perhaps there is a good reason ?
I also have patched the maven plugin to use reflection to configure the generators, and all the code is in the forks of the repos on my account (swagger-codegen and swagger-codegen-maven-plugin).
Thanks in advance for any answer,
Best regards
PS: Take a look at this commit if i'm not clear enough : rastaman@9ab303f