Default and example


#1

So, java parser assumes that default and example are of string type. Side-effect of this is my defaults and examples for the integer (or other types) are strings. However, spec doesn’t clearly say that examples/defaults are string or not. I would assume them to match the parameter data-type.

Is it a known issue?

https://github.com/raml-org/raml-java-parser/blob/master/src/main/java/org/raml/model/parameter/AbstractParam.java