Currently trying to use union types leads to a NullPointerException:
Caused by: java.lang.NullPointerException
at com.phoenixnap.oss.ramlplugin.raml2code.interpreters.UnionTypeInterpreter.getParent(UnionTypeInterpreter.java:69)
at com.phoenixnap.oss.ramlplugin.raml2code.interpreters.UnionTypeInterpreter.interpret(UnionTypeInterpreter.java:115)
at com.phoenixnap.oss.ramlplugin.raml2code.helpers.RamlTypeHelper.mapTypeToPojo(RamlTypeHelper.java:100)
at com.phoenixnap.oss.ramlplugin.raml2code.plugin.SpringMvcEndpointGeneratorMojo.generateUnreferencedObjects(Spring
Example:
types:
boolOrString:
displayName: test
type: string | boolean
Currently trying to use union types leads to a NullPointerException:
Example: