Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Generating Wrapper classes(java.lang.Long, java.math.BigDecimal) from the Raml1.0 schemas #298

Closed
prudhvee opened this issue Aug 29, 2017 · 1 comment

Comments

@prudhvee
Copy link

Hi,

Was able to generate the Wrapper classes from RAML-to-jaxrs in RAML 0.8 using raml-jaxrs-maven-plugin with the following JSON syntax.
"Interest": {“type":"object", "javaType":"java.math.BigDecimal” }

Is there a way we can generate the similar Wrapper classes (ex. "java.lang.Long" for "long" in RAML1.0 datatype schema) using the raml-to-jaxrs-maven-plugin?

@jpbelang
Copy link
Contributor

In 1.0, on the release/2.2.0 you can annotate the types.
see #329 to setup a plugin. There is also the core.box plugin.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants