lib/fdoc/templates/endpoint.md.erb in fdoc-0.3.2 vs lib/fdoc/templates/endpoint.md.erb in fdoc-0.3.3
- old
+ new
@@ -30,10 +30,10 @@
<% successful_response_codes.each do |response_code| %>
* <%= response_code.to_markdown %>
<% end %>
<% end %>
-<% if !successful_response_codes.empty? %>
+<% if !failure_response_codes.empty? %>
#### Failure Response Codes
<% failure_response_codes.each do |response_code| %>
* <%= response_code.to_markdown %>
<% end %>
<% end %>