mirror of
https://github.com/Smaug123/WoofWare.Myriad
synced 2025-10-05 03:58:40 +00:00
29 lines
535 B
JSON
29 lines
535 B
JSON
{
|
|
"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"
|
|
}
|
|
}
|
|
}
|
|
}
|