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

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

Description

@sichvoge

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions