diff --git a/doc/api/api.raml b/doc/api/api.raml index d48d2d56..2efac770 100644 --- a/doc/api/api.raml +++ b/doc/api/api.raml @@ -12,10 +12,10 @@ documentation: content: "" securitySchemes: - token: !include securitySchemes/token.raml cookie: !include securitySchemes/cookie.raml + token: !include securitySchemes/token.raml oauth_2_0: !include securitySchemes/oauth_2_0.raml -securedBy: [ token, cookie, oauth_2_0 ] +securedBy: [ cookie, token, oauth_2_0 ] traits: pageable: !include traits/pageable.raml diff --git a/doc/api/apis/metacodes.raml b/doc/api/apis/metacodes.raml index 124e981e..d2b5b63c 100644 --- a/doc/api/apis/metacodes.raml +++ b/doc/api/apis/metacodes.raml @@ -1,5 +1,5 @@ #type: collection -securedBy: [ null, token, cookie, oauth_2_0 ] +securedBy: [ null, cookie, token, 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 6bb44da7..6d1bc97d 100644 --- a/doc/api/apis/users.raml +++ b/doc/api/apis/users.raml @@ -1,5 +1,5 @@ #type: collection -securedBy: [ null, token, cookie, oauth_2_0 ] +securedBy: [ null, cookie, token, oauth_2_0 ] get: is: [ searchable: { searchFields: "name" }, orderable, pageable ] responses: