fix *List id and description in discovery document
authorTom Clegg <tom@clinicalfuture.com>
Thu, 25 Apr 2013 06:46:49 +0000 (23:46 -0700)
committerTom Clegg <tom@clinicalfuture.com>
Thu, 25 Apr 2013 06:48:17 +0000 (23:48 -0700)
services/api/app/controllers/arvados/v1/schema_controller.rb

index 6721b444320d755156306d8c6aceebffe456bd04..ee268654044ec29bb3d202ceacffc3e1c76ccff3 100644 (file)
@@ -104,8 +104,8 @@ class Arvados::V1::SchemaController < ApplicationController
           end
         end
         discovery[:schemas][k.to_s + 'List'] = {
-          id: k.to_s,
-          description: k.to_s,
+          id: k.to_s + 'List',
+          description: k.to_s + ' list',
           type: "object",
           properties: {
             kind: {