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 think the problem is in swagger-core module used by swagger-codegen.
While properties of type intX are converted to an object of class io.swagger.models.properties.IntegerProperty
that has a getDefault() method, all other integer properties (unsigned and all the ones derived from an integer using a typedef) are converted to an instance of io.swagger.models.properties.BaseIntegerProperty
that lacks the getDefault() method.
Currently I don't know how to overcome this problem.
in some cases, described below, yang default parameter is not taken into account by code generation.
Case1 (working):
Case2 (not working):
Case3 (not working):
Case4 (not working):
The text was updated successfully, but these errors were encountered: