Skip to content

Commit 1974880

Browse files
authored
examples: add non-oauth-scopes.yaml, refs #2407 (#2515)
Signed-off-by: Mike Ralphson <[email protected]>
1 parent 5984314 commit 1974880

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

examples/v3.1/non-oauth-scopes.yaml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
openapi: 3.1.0
2+
info:
3+
title: Non-oAuth Scopes example
4+
version: 1.0.0
5+
paths:
6+
/users:
7+
get:
8+
security:
9+
- bearerAuth:
10+
- 'read:users'
11+
- 'public'
12+
components:
13+
securitySchemes:
14+
bearerAuth:
15+
type: http
16+
scheme: bearer
17+
bearerFormat: jwt
18+
description: 'note: non-oauth scopes are not defined at the securityScheme level'
19+

0 commit comments

Comments
 (0)