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

Handle blank data when parsing a example's response #453

Merged
merged 1 commit into from
Oct 13, 2016

Conversation

stbenjam
Copy link
Contributor

Currently, if an example's response body contains any blank line, it
returns nil. This changes the approach to check for blank or all
whitespace to just data.strip.blank?

Currently, if an example's response body contains any blank line, it
returns nil.  This changes the approach to check for blank or all
whitespace to just data.strip.blank?
@iNecas
Copy link
Member

iNecas commented Oct 13, 2016

Thanks @stbenjam It's been a while, but we can finally get this in :)

@iNecas iNecas merged commit f432f31 into Apipie:master Oct 13, 2016
@iNecas
Copy link
Member

iNecas commented Oct 13, 2016

apipie-rails-0.3.7 got just released including this fix

@mtparet mtparet added this to the v0.3.7 milestone Oct 13, 2016
@stbenjam stbenjam deleted the empty-example branch October 13, 2016 12:21
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.

3 participants