Hi All,
types:
Person:
properties:
name:
required: true
type: string
age:
required: false
type: number
here age validation is the success
but for the age, it fails if I write age2 then too it accepts
Also, I the Raml gives me exception message properly which I can read it in a logger but the same message is not properly displayed in the set payload.
"# [groovy:message.getExceptionPayload().getRootException().getMessage()]" this is whta i am using to print the message but it doesnt work for set payload
Please help me to get a workaround or a solution for this
I am new to the RAML concepts
Regards,
Dheeraj
Hi @Anirban Sen Chowdhary
Can you provide your comments on this
this will be helpful for me