Skip to content

Conversation

kvelakur
Copy link
Contributor

...sts

@fehguy
Copy link
Contributor

fehguy commented Apr 16, 2015

This will break some upcoming features. What issue is the \n causing for you?

@kvelakur
Copy link
Contributor Author

If you generate a static html document, the example requests in the page look like this

[ {\n "image" : "aeiou",\n "product_id" : "aeiou",\n "description" : "aeiou",\n "display_name" : "aeiou",\n "capacity" : "aeiou"\n} ]

To reproduce, go to http://editor.swagger.io/ and select Generate Client -> html

Why are the \n added explicitly as characters in a string?

fehguy added a commit that referenced this pull request May 21, 2015
Issue #642 - Removing the unnecesary \n added to generated example reque...
@fehguy fehguy merged commit 8dbb1aa into swagger-api:master May 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants