diff --git a/doc/api/api.raml b/doc/api/api.raml index c2382ea2..d48d2d56 100644 --- a/doc/api/api.raml +++ b/doc/api/api.raml @@ -12,9 +12,9 @@ documentation: content: "" securitySchemes: - oauth_2_0: !include securitySchemes/oauth_2_0.raml token: !include securitySchemes/token.raml cookie: !include securitySchemes/cookie.raml + oauth_2_0: !include securitySchemes/oauth_2_0.raml securedBy: [ token, cookie, oauth_2_0 ] traits: diff --git a/doc/api/apis/metacodes.raml b/doc/api/apis/metacodes.raml index d9e2f738..124e981e 100644 --- a/doc/api/apis/metacodes.raml +++ b/doc/api/apis/metacodes.raml @@ -1,5 +1,5 @@ #type: collection -securedBy: null +securedBy: [ null, token, cookie, oauth_2_0 ] get: is: [ searchable: { searchFields: "name" }, orderable, pageable ] responses: diff --git a/doc/api/apis/users.raml b/doc/api/apis/users.raml index 0af3ba51..6bb44da7 100644 --- a/doc/api/apis/users.raml +++ b/doc/api/apis/users.raml @@ -1,5 +1,5 @@ #type: collection -securedBy: null +securedBy: [ null, token, cookie, oauth_2_0 ] get: is: [ searchable: { searchFields: "name" }, orderable, pageable ] responses: