If I understand as per spec, the
strict specified inside the
example meaning the
example is validated against the
type. But If I specify a
schema and corresponding XML, although the sample XML is valid the workbench complains of
Example does not conform to schema: Cannot create property '$' on boolean 'true'
Also what is the use of
value inside example ? i.e for the below raml, both are accepted. but which is more appropriate to use? when to use
value. The API definition seems to be not clear to me.
example: strict: true value: !include examples/list.xml
example: !include examples/list.xml