api-designer icon indicating copy to clipboard operation
api-designer copied to clipboard

Unable to read external schemas in raml

Open abhi--agrawal opened this issue 8 years ago • 1 comments

when adding the schemas it is giving the folowing error:

[error] Reference: '{ "type": "object", "$schema": "http://json-schema.org/draft-03/schema", "id": "http://jsonschema.net", "required": true, "properties": { "songTitle": { "type": "string", "required": true }, "albumId": { "type": "string", "required": true, "minLength": 36, "maxLength": 36 } } }' can not be resolved [error] Can not resolve examples/Attribute/propertyCreateExample.sample [error] Can not resolve examples/Attribute/propertyCreateExample.sample [error] Can not resolve examples/Attribute/propertyCreateExample.sample

I have added a basic collection and trying to read it through

collection: schemaCollectionPOSTRequest: !include id.json exampleCollectionPOSTRequest: !include ID.sample

abhi--agrawal avatar Jan 30 '18 07:01 abhi--agrawal

Hi @abhi--agrawal ! Could you please attach the api that is getting you to this error? Thank you.

carowright avatar Feb 22 '18 15:02 carowright