Project

General

Profile

Bug #18590

Updated by Ward Vandewege over 2 years ago

In `app/controllers/arvados/v1/groups_controller.rb` we say 

 <pre> 
   def self._contents_requires_parameters 
     params = _index_requires_parameters. 
       merge({ 
               uuid: { 
                 type: 'string', required: false, default: nil, 
               }, 
 ... 
 </pre> 

 That `default: nil` ends up in our discovery doc as 

 <pre> 
             "uuid": { 
               "type": "string", 
               "required": false, 
               "default": null, 
               "description": "", 
               "location": "query" 
             }, 
 </pre> 

 That is the *only* place in our discovery doc where we say `"default": null`, and that does not conform with the spec. The value for `"default"` must be a string, as per https://developers.google.com/discovery/v1/reference/apis.

Back