fix securedBy
This commit is contained in:
parent
94092ca716
commit
9352ecc446
3 changed files with 3 additions and 3 deletions
|
@ -12,9 +12,9 @@ documentation:
|
||||||
content: ""
|
content: ""
|
||||||
|
|
||||||
securitySchemes:
|
securitySchemes:
|
||||||
oauth_2_0: !include securitySchemes/oauth_2_0.raml
|
|
||||||
token: !include securitySchemes/token.raml
|
token: !include securitySchemes/token.raml
|
||||||
cookie: !include securitySchemes/cookie.raml
|
cookie: !include securitySchemes/cookie.raml
|
||||||
|
oauth_2_0: !include securitySchemes/oauth_2_0.raml
|
||||||
securedBy: [ token, cookie, oauth_2_0 ]
|
securedBy: [ token, cookie, oauth_2_0 ]
|
||||||
|
|
||||||
traits:
|
traits:
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#type: collection
|
#type: collection
|
||||||
securedBy: null
|
securedBy: [ null, token, cookie, oauth_2_0 ]
|
||||||
get:
|
get:
|
||||||
is: [ searchable: { searchFields: "name" }, orderable, pageable ]
|
is: [ searchable: { searchFields: "name" }, orderable, pageable ]
|
||||||
responses:
|
responses:
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#type: collection
|
#type: collection
|
||||||
securedBy: null
|
securedBy: [ null, token, cookie, oauth_2_0 ]
|
||||||
get:
|
get:
|
||||||
is: [ searchable: { searchFields: "name" }, orderable, pageable ]
|
is: [ searchable: { searchFields: "name" }, orderable, pageable ]
|
||||||
responses:
|
responses:
|
||||||
|
|
Loading…
Add table
Reference in a new issue