This repository was archived by the owner on Dec 10, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +30
-2
lines changed Expand file tree Collapse file tree 2 files changed +30
-2
lines changed Original file line number Diff line number Diff line change @@ -185,11 +185,20 @@ components:
185
185
properties :
186
186
data :
187
187
$ref : ' #/components/schemas/data'
188
- securitySchemes : {}
188
+ securitySchemes :
189
+ bearerAuth :
190
+ type : oauth2
191
+ flows :
192
+ implicit :
193
+ authorizationUrl : ' https://example.com/oauth/authorize'
194
+ scopes :
195
+ read : Grants read access
196
+ write : Grants write access
197
+ admin : Grants access to admin operations
189
198
info :
190
199
title : ' '
191
200
description : ' '
192
- version : 96d3d004-1a24-4384-9df7-1e7416393223
201
+ version : 1a08e671-e4b5-4d13-babe-a00c86ec8b5d
193
202
paths :
194
203
/create :
195
204
post :
@@ -239,3 +248,7 @@ paths:
239
248
application/json :
240
249
schema :
241
250
$ref : ' #/components/schemas/ErrorResponse'
251
+ security :
252
+ - bearerAuth :
253
+ - read
254
+ - write
Original file line number Diff line number Diff line change 1
1
documentation :
2
+ components :
3
+ securitySchemes :
4
+ bearerAuth :
5
+ type : oauth2
6
+ flows :
7
+ implicit :
8
+ authorizationUrl : https://example.com/oauth/authorize
9
+ scopes :
10
+ read : Grants read access
11
+ write : Grants write access
12
+ admin : Grants access to admin operations
13
+ security :
14
+ - bearerAuth :
15
+ - read
16
+ - write
2
17
models :
3
18
- name : ErrorResponse
4
19
description : This is an error
You can’t perform that action at this time.
0 commit comments