raml-org/raml-java-parser

Error when having a number with decimal

pacafuentes opened this issue · 0 comments

Given the following RAML

#%RAML 1.0
title: Decimal test

types:
  tomato:
    properties:
      weight:
        type: number
        minimum: -999999999999
        maximum: 999999999999
        required: true
    example: '{ "weight" : "100.43" }'



/greengrocery:
    get:
      responses:
        200:
          body:
            application/json:
              type: tomato

An error is thrown