projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into 2060-edit-tags-in-workbench
[arvados.git]
/
services
/
api
/
app
/
controllers
/
arvados
/
v1
/
schema_controller.rb
diff --git
a/services/api/app/controllers/arvados/v1/schema_controller.rb
b/services/api/app/controllers/arvados/v1/schema_controller.rb
index fc3c5768594214f48cc9c4d0223cff5ae3cc4118..7df2edb49fff38213ac5eb6a8d1a3a3b36298742 100644
(file)
--- a/
services/api/app/controllers/arvados/v1/schema_controller.rb
+++ b/
services/api/app/controllers/arvados/v1/schema_controller.rb
@@
-1,5
+1,6
@@
class Arvados::V1::SchemaController < ApplicationController
skip_before_filter :find_object_by_uuid
class Arvados::V1::SchemaController < ApplicationController
skip_before_filter :find_object_by_uuid
+ skip_before_filter :render_404_if_no_object
skip_before_filter :require_auth_scope_all
def show
skip_before_filter :require_auth_scope_all
def show
@@
-245,16
+246,9
@@
class Arvados::V1::SchemaController < ApplicationController
path: "#{k.to_s.underscore.pluralize}",
httpMethod: "POST",
description: "Create a new #{k.to_s}.",
path: "#{k.to_s.underscore.pluralize}",
httpMethod: "POST",
description: "Create a new #{k.to_s}.",
- parameters: {
- k.to_s.underscore => {
- type: "object",
- required: false,
- location: "query",
- properties: object_properties
- }
- },
+ parameters: {},
request: {
request: {
- required:
fals
e,
+ required:
tru
e,
properties: {
k.to_s.underscore => {
"$ref" => k.to_s
properties: {
k.to_s.underscore => {
"$ref" => k.to_s
@@
-279,16
+273,10
@@
class Arvados::V1::SchemaController < ApplicationController
description: "The UUID of the #{k.to_s} in question.",
required: true,
location: "path"
description: "The UUID of the #{k.to_s} in question.",
required: true,
location: "path"
- },
- k.to_s.underscore => {
- type: "object",
- required: false,
- location: "query",
- properties: object_properties
}
},
request: {
}
},
request: {
- required:
fals
e,
+ required:
tru
e,
properties: {
k.to_s.underscore => {
"$ref" => k.to_s
properties: {
k.to_s.underscore => {
"$ref" => k.to_s