spec/support/model_parsers/representable_parser.rb in grape-swagger-0.31.1 vs spec/support/model_parsers/representable_parser.rb in grape-swagger-0.32.0
- old
+ new
@@ -259,10 +259,10 @@
let(:swagger_json) do
{
'info' => {
'title' => 'The API title to be displayed on the API homepage.',
'description' => 'A description of the API.',
- 'termsOfServiceUrl' => 'www.The-URL-of-the-terms-and-service.com',
+ 'termsOfService' => 'www.The-URL-of-the-terms-and-service.com',
'contact' => { 'name' => 'Contact name', 'email' => 'Contact@email.com', 'url' => 'Contact URL' },
'license' => { 'name' => 'The name of the license.', 'url' => 'www.The-URL-of-the-license.org' },
'version' => '0.0.1'
},
'swagger' => '2.0',