Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#3256 - Fix custom example values #3297

Merged
merged 2 commits into from
Jun 27, 2017
Merged

#3256 - Fix custom example values #3297

merged 2 commits into from
Jun 27, 2017

Conversation

owenconti
Copy link
Contributor

Fixes #3256 - Remove call to JSON.stringify on example values that are already strings.

I wasn't able to find a situation where I could get example to have the toJS function. If we think that is no longer used/needed, I can remove it altogether with this PR.

@webron webron requested a review from shockey June 26, 2017 21:23
@shockey
Copy link
Contributor

shockey commented Jun 27, 2017

@owenconti, let's hold onto example.toJS() - it was introduced in #2846.

@shockey shockey merged commit 626e923 into swagger-api:master Jun 27, 2017
@shockey
Copy link
Contributor

shockey commented Jun 27, 2017

Looks good. Thanks @owenconti!

@owenconti owenconti deleted the bug/3256-example-value-fix branch June 27, 2017 01:57
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