Project

General

Profile

Actions

Bug #18590

closed

[api] invalid value in discovery doc

Added by Ward Vandewege over 2 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
Story points:
-
Release relationship:
Auto

Description

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

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

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

            "uuid": {
              "type": "string",
              "required": false,
              "default": null,
              "description": "",
              "location": "query" 
            },

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.


Subtasks 1 (0 open1 closed)

Task #18591: review 18590-fix-discovery-docResolvedWard Vandewege12/16/2021Actions
Actions

Also available in: Atom PDF