Use absolute URLs in the OAuth 2.0 security scheme in the API spec

This commit is contained in:
Quentin Gliech
2025-05-07 14:05:44 +02:00
parent f9896cc122
commit 95094453e5
2 changed files with 63 additions and 28 deletions

View File

@@ -2542,6 +2542,11 @@
}
}
}
},
"token": {
"type": "http",
"scheme": "bearer",
"description": "An access token with access to the admin API"
}
},
"schemas": {
@@ -3725,6 +3730,11 @@
"oauth2": [
"urn:mas:admin"
]
},
{
"bearer": [
"urn:mas:admin"
]
}
],
"tags": [