Open toorosan opened 6 years ago
Error got from cli:
# raml-server api.raml Error parsing: while validating body schema must be a string in "api.raml", line 28, column 13: schema: !include responses/BaseOk ...
api.raml file contents:
#%RAML 0.8 title: test for Error parsing version: v1 protocols: [HTTP, HTTPS] baseUri: http://{host}:{port}/{version} baseUriParameters: host: displayName: Domain name / IP address type: string default: localhost port: displayName: Port type: string default: 80 mediaType: application/json /: get: description: "Base request" responses: 200: description: "Base request description" body: application/json: schema: !include responses/BaseOk.raml
responses/BaseOk.raml file contents:
description: "Base OK result."
Error got from cli:
api.raml file contents:
responses/BaseOk.raml file contents: