Skip to content

In the html client generator, newline (\n) added in the JSON under Example data  #642

@kvelakur

Description

@kvelakur

For example go to http://editor.swagger.io/ and export the default Uber API that is loaded as a static html page by selecting Generate Client -> html.

In the generated html, all the JSONs under Example data look like this:
[ {\n "image" : "aeiou",\n "product_id" : "aeiou",\n "description" : "aeiou",\n "display_name" : "aeiou",\n "capacity" : "aeiou"\n} ]

The \n shouldn't appear here, and should probably a <\br> instead.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions