lib/rapidoc/http_response.rb in rapidoc-0.0.6 vs lib/rapidoc/http_response.rb in rapidoc-0.0.7
- old
+ new
@@ -23,16 +23,18 @@
when 201
'Created'
when 204
'No content'
when 401
- 'Unauthorized'
+ 'Access Denied'
when 403
'Forbidden'
when 404
'Not found'
when 422
'Unprocessable Entity'
+ when 400
+ 'Bad Request'
else
''
end
end