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 ba59ea1 commit a48adb9Copy full SHA for a48adb9
examples/v3.1/non-oauth-scopes.json
@@ -0,0 +1,31 @@
1
+{
2
+ "openapi": "3.1.0",
3
+ "info": {
4
+ "title": "Non-oAuth Scopes example",
5
+ "version": "1.0.0"
6
+ },
7
+ "paths": {
8
+ "/users": {
9
+ "get": {
10
+ "security": [
11
+ {
12
+ "bearerAuth": [
13
+ "read:users",
14
+ "public"
15
+ ]
16
+ }
17
18
19
20
21
+ "components": {
22
+ "securitySchemes": {
23
+ "bearerAuth": {
24
+ "type": "http",
25
+ "scheme": "bearer",
26
+ "bearerFormat": "jwt",
27
+ "description": "note: non-oauth scopes are not defined at the securityScheme level"
28
29
30
31
+}
0 commit comments