Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Is appending '\\n' on descriptions on purpose? #63

Open
sichvoge opened this issue Apr 27, 2017 · 0 comments
Open

Is appending '\\n' on descriptions on purpose? #63

sichvoge opened this issue Apr 27, 2017 · 0 comments

Comments

@sichvoge
Copy link
Contributor

I have a very simple RAML document:

#%RAML 1.0
title: Twilio Mule Extension API
baseUri: https://api.twilio.com/2010-04-01
description: |
  This is a test.

Running AMF, it seems that the parser appends \\n at the end of my description, which results into the following OAS:

{
  "basePath": "/2010-04-01",
  "host": "api.twilio.com",
  "info": {
    "description": "This is a test.\\n",
    "title": "Twilio Mule Extension API",
    "version": "1.0"
  }
}

And querying the graph, I also get a magic \ inside the description:

image

Is appending \\n on purpose or just a bug?

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

No branches or pull requests

1 participant