Merge 07dd85ae6005fe9a38ff0d754622d5cb01c71681 into d6c46342693205f0dae441b45742d9c85d41cf33

This commit is contained in:
Michael Vistein (DLR) 2025-05-09 20:36:23 +08:00 committed by GitHub
commit d27e669f32
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -387,6 +387,8 @@ public class CppRestSdkClientCodegen extends AbstractCppCodegen {
|| ModelUtils.isFileSchema(p) || ModelUtils.isUUIDSchema(p)
|| languageSpecificPrimitives.contains(openAPIType)) {
return toModelName(openAPIType);
} else if(typeMapping.containsKey(super.getSchemaType(p))) {
return openAPIType;
}
return "std::shared_ptr<" + openAPIType + ">";