Closed JuanAller closed 4 years ago
AMF fails also with strings "true" and "false". @jpbelang @jstoiko This issue should be solve using a property to prevent backward compatibility issues.
The org.raml.strict_booleans property was added to solve this issue.
#%RAML 1.0 title: Sample API types: TestType: type: object properties: count?: integer flag?: boolean name?: string /test: post: body: application/json: type: TestType example: | { "count": 12, "flag": "false", "name": "Joe" }
field "flag" is boolean type, but example value is "false"