spec/spec_app/design/api.rb in praxis-0.17.1 vs spec/spec_app/design/api.rb in praxis-0.18.0
- old
+ new
@@ -22,9 +22,10 @@
name "Spec App"
title "A simple App to do some simple integration testing"
description "This example API should really be replaced by a set of more full-fledged example apps in the future"
base_path "/api"
+ produces 'json','xml'
#version_with :path
#base_path "/v:api_version"
end
info '1.0' do # Applies to 1.0 version (and inherits everything else form the global one)