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

Import Statement for BigDecimal/BigInteger not generated for request body #288

Closed stojsavljevic closed 5 years ago

stojsavljevic commented 5 years ago

For useBigDecimals=true (useBigIntegers=true) and this raml:

#%RAML 1.0
title: Import Statement for BigDecimal not generated for request body
version: 1.0

/test:
  post:
    body: 
      application/json:
        type: number
        format: long

import statement for BigDecimal (BigInteger) is not generated. This happens for all rules.