Project

General

Profile

Actions

Bug #22081

open

Response type of container_requests.container_status is incorrect in discovery document

Added by Brett Smith 3 months ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
API
Target version:
-
Story points:
-

Description

When we declare the container_requests.container_status API method in source:services/api/app/contollers/arvados/v1/schema_controller.rb, it uses the default logic to determine the response type:

             response: {
                "$ref" => (method_name == 'list' ? "#{k.to_s}List" : k.to_s)
              },

This is incorrect. Per the API reference, this returns a custom response type. Add a schema for this type to the discovery document and declare it as the response type of this method.

No data to display

Actions

Also available in: Atom PDF