From 9352ecc4465dad8bfb37b51c6bcaa3f5f73441cb Mon Sep 17 00:00:00 2001 From: Devin Howard Date: Wed, 12 Oct 2016 11:10:59 +0800 Subject: [PATCH] fix securedBy --- doc/api/api.raml | 2 +- doc/api/apis/metacodes.raml | 2 +- doc/api/apis/users.raml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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: