forked from loafle/openapi-generator-original
Merge pull request #1252 from seanbright/model-with-no-props
Fix NPE in JavaClientCodegen when model has no properties of its own
This commit is contained in:
commit
cbc2fb237d
@ -1439,6 +1439,8 @@ public class DefaultCodegen {
|
||||
}
|
||||
} else {
|
||||
m.emptyVars = true;
|
||||
m.hasVars = false;
|
||||
m.hasEnums = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user