Skip to content

Commit

Permalink
Update JSON example files
Browse files Browse the repository at this point in the history
  • Loading branch information
webron authored Nov 18, 2021
1 parent ba59ea1 commit fe9021d
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions examples/v3.1/non-oauth-scopes.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"openapi": "3.1.0",
"info": {
"title": "Non-oAuth Scopes example",
"version": "1.0.0"
},
"paths": {
"/users": {
"get": {
"security": [
{
"bearerAuth": [
"read:users",
"public"
]
}
]
}
}
},
"components": {
"securitySchemes": {
"bearerAuth": {
"type": "http",
"scheme": "bearer",
"bearerFormat": "jwt",
"description": "note: non-oauth scopes are not defined at the securityScheme level"
}
}
}
}

0 comments on commit fe9021d

Please sign in to comment.