forked from loafle/openapi-generator-original
Change to Scala's codegen: post params weren't being found because Model's name is a class name and a param's valueTypeInternal is package + class name so they weren't matching.
This commit is contained in:
parent
d4a8287a40
commit
8307aca59d
@ -136,7 +136,7 @@ public class Endpoint {
|
||||
isParamSetAvailable = true;
|
||||
break;
|
||||
}
|
||||
if(model.getName().equalsIgnoreCase(modelField.getValueTypeInternal())){
|
||||
if(modelField.getValueTypeInternal().endsWith(model.getName())){
|
||||
isParamSetAvailable = true;
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user