In case of nested class the datatype might be: `com.org.package.MyType.MyNestedType`. In such case the packageName will be `com.org.package.MyType` _Originally posted by @walaniam in https://github.com/Backbase/backbase-openapi-tools/pull/632#discussion_r1321536035_