phoenixnap / springmvc-raml-plugin

Spring MVC - RAML Spec Synchroniser Plugin. A Maven plugin designed to Generate Server & Client code in Spring from a RAML API descriptor and conversely, a RAML API document from the SpringMVC Server implementation.
Apache License 2.0
136 stars 84 forks source link

usePrimitives and useLongIntegers have no impact on generated code #255

Open techpavan opened 6 years ago

techpavan commented 6 years ago

I see that these parameters have no impact on the generated model classes or method parameters. Not sure if all other options are working well, but its preferable to take a check. If needed, I shall host my demo project on github. All "integer"s is getting generated as Long which I would prefer to be a primitive.

stojsavljevic commented 6 years ago

PojoGenerationConfig together with his attributes is passed to jsonschema2pojo library for generating POJOs from json schemas. Now I'm putting effort to reuse those same attributes when generating from data types.

stojsavljevic commented 6 years ago

Relates to #201