Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Unable to read external schemas in raml #508

Open
abhi--agrawal opened this issue Jan 30, 2018 · 1 comment
Open

Unable to read external schemas in raml #508

abhi--agrawal opened this issue Jan 30, 2018 · 1 comment
Assignees

Comments

@abhi--agrawal
Copy link

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

@carowright
Copy link
Contributor

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants