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

add description section to response #639

Merged
merged 2 commits into from
Oct 30, 2018

Conversation

X1ting
Copy link
Contributor

@X1ting X1ting commented Oct 19, 2018

No description provided.

@@ -40,6 +40,8 @@
<%= heading(t('apipie.returns'), h_level) %>
<% method[:returns].each do |item| %>
<%= heading("#{t('apipie.code')}: #{item[:code]}", h_level + 1) %>
<%= heading("#{t('apipie.description')}:", h_level + 2) %>
<p><%= item[:description] %></p>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't we check on the presence of the item[:description] before adding this?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@X1ting ping?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ough, sorry, forgot to answer. Will change tomorrow. Thanks for review!

@iNecas
Copy link
Member

iNecas commented Oct 30, 2018

Thanks @X1ting, test failures unrelated

@iNecas iNecas merged commit f4a3991 into Apipie:master Oct 30, 2018
@iNecas
Copy link
Member

iNecas commented Nov 16, 2018

apipie-rails-0.5.14 has just been released, including this fix

yoav-p6 pushed a commit to parallel-6/apipie-rails that referenced this pull request Nov 6, 2020
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