We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bbd866 commit a4d11ccCopy full SHA for a4d11cc
1 file changed
modules/openapi-generator/src/test/resources/3_0/jaxrs-spec/quarkus-oauth2-with-scopes.yaml
@@ -0,0 +1,36 @@
1
+openapi: 3.0.1
2
+info:
3
+ title: Quarkus OAuth2 with scopes test
4
+ version: '1.0'
5
+servers:
6
+ - url: 'http://localhost:8080/'
7
+paths:
8
+ /items:
9
+ get:
10
+ operationId: getItems
11
+ summary: Get items
12
+ security:
13
+ - oauth2_scheme:
14
+ - read:items
15
+ responses:
16
+ '200':
17
+ description: OK
18
+ post:
19
+ operationId: createItem
20
+ summary: Create item
21
22
23
+ - write:items
24
25
+ '201':
26
+ description: Created
27
+components:
28
+ securitySchemes:
29
+ oauth2_scheme:
30
+ type: oauth2
31
+ flows:
32
+ clientCredentials:
33
+ tokenUrl: https://example.com/oauth/token
34
+ scopes:
35
+ read:items: Read items
36
+ write:items: Write items
0 commit comments